Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Templates and teamwork


Templates and teamwork

Author
Message
CAGreensfelder
CAGreensfelder
Valued Member
Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)

Group: General Forum Members
Points: 59 Visits: 375
Found it. (It was "Twitchell" with a double "L" at the end.)

Nope, that doesn't help. It refers to an alternate location on my same machine, not a remote location on a network share. We don't have multiple users on one machine as a rule. We each have our own.

I want the little monsters to sit out on the network so if anyone in my group changes one, SSMS propagates from the change template on the net to my local template repository.

Guess we're stuck periodically emailing everyone an updated template and telling them to put it on their machine.
myrogers
myrogers
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 13
Whoops, dropped an l at the end of his last name.

http://social.technet.microsoft.com/Forums/ko-KR/sqltools/thread/4013c8de-c39b-437a-b447-3d5f1fee84ea

I also found that you need to change the tql extension to sql and your templates will be visible and then everything will work great.
Ninja's_RGR'us
Ninja's_RGR'us
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20931 Visits: 9671
Is there any way to have a placeholder for the generated date?

-- Author: <Author,,Rémi Grégoire>
-- Create date: <Create Date,,GetDate()>
-- Description: <Procedure_Name, sysname, ProcedureName>



I want the getDate() to be replaced by '2010-01-15' when I replace the template variables.

TIA.
cghersi
cghersi
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 65
To collect the SQL snippets I use a service called Snip2Code, which is also integrated into Visual Studio as an extension.

This way, I'm able to share my snippets with my team and reach them on all the servers with an Internet connection. So I'm not linked to a particular installation of SQL Managemenet Studio or similar.

Try it:
www.snip2code.com
Robert.Sterbal
Robert.Sterbal
SSC Veteran
SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)

Group: General Forum Members
Points: 209 Visits: 2000
This is an interesting discussion. We wind up using a wiki for shared scripts where I work.
Iwas Bornready
Iwas Bornready
SSCrazy Eights
SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)

Group: General Forum Members
Points: 8680 Visits: 885
Good idea. I'll look into it more. Thanks.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search