Red Gate forums :: View topic - a snippet that auto-executes
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation

SQL Prompt code snippets forum

a snippet that auto-executes

Search in SQL Prompt code snippets forum
Post new topic   Reply to topic
Jump to:  
Author Message
nico



Joined: 20 Feb 2007
Posts: 3

PostPosted: Tue Feb 20, 2007 7:08 am    Post subject: a snippet that auto-executes Reply with quote

Hi,

I apologize for placing my issue in a different forum page. Embarassed
Anyways a newbie here Very Happy .

My current issue was that I am trying to goto a particular db by using the snippet I created:

"use pubs+^{LEFT}{F5}" (looks familiar ehe, from the w2 snippet)

But, an there was an exception thrown:

Server: Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure 'pubs'.

What was my mistake? Hope someone can help this newbie out!

Thanks,

Nico
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6644

PostPosted: Wed Jun 20, 2007 11:25 pm    Post subject: Reply with quote

Hi Nico,

I see what the problem could be. In SQL Prompt 2, you could make snippets auto-execute by putting a {F5} in the snippet. This had been disabled in version 3. It may reappear at some future date.
Back to top
View user's profile Send private message
AndrewRMClarke



Joined: 16 Aug 2006
Posts: 59
Location: Cavendish

PostPosted: Thu Sep 27, 2007 8:06 am    Post subject: Reply with quote

C'mon! lets have the feature back in. It really is time to do something nice with snippets.
Back to top
View user's profile Send private message
j.salmon



Joined: 08 Aug 2007
Posts: 34

PostPosted: Wed Mar 12, 2008 7:14 pm    Post subject: Re: Reply with quote

AndrewRMClarke wrote:
C'mon! lets have the feature back in. It really is time to do something nice with snippets.


Ditto - add this back in.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group