|
Go to product support center
|
SQL Prompt code snippets forum
|
My 5 cents tip (you might know it already, but just in case)
|
Search in SQL Prompt code snippets forum
|
|
|
|
|
|
|
| Author |
Message |
ivanrdgz
Joined: 11 Jul 2009 Posts: 10
|
Posted: Sat Jul 11, 2009 5:26 am Post subject: My 5 cents tip (you might know it already, but just in case) |
|
|
I like to combine the SQL Prompt code snippets with the SQL Server Management Studio templates. I always liked the template (kind of the same idea of snippets) but SSMS lacks the ability of "calling" those templates right from your query window. I mean, you must go to the Template Collection, find the needed template and from there double click on it or drag and drop.
So, now what I do? I just create snippets using the template format. For example:
USE <Database, varchar,>
go
select * from <Table, varchar,>
go
Once I call it, I press CTRL+SHIFT+M and the template parameter window will show up allowing me to enter the defined paramaters of the current template.
Hope this will help someone  |
|
| Back to top |
|
 |
aultmike
Joined: 08 Jan 2010 Posts: 25 Location: Canton, OH
|
Posted: Tue Jan 19, 2010 4:35 pm Post subject: |
|
|
| Awesome tip! |
|
| Back to top |
|
 |
AndrewJacksonZA
Joined: 05 May 2010 Posts: 17 Location: Johannesburg, South Africa
|
Posted: Wed May 05, 2010 12:19 pm Post subject: |
|
|
| Thanks!!! |
|
| Back to top |
|
 |
|
|
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