Is it possible to save code samples/snippets in SQL Server 2005?
Actually I want to maintain the font style and all of code, provided by user on website same as in stackoverflow we can provide code samples along with question.
Which data type should I use and what html control should i use to receive value from user?
I don't want to create a separate file to save code samples.
Thanks in advance
If you're using SQL Server Management Studio, you can use one of the often overlooked features : the Template Explorer:
As you can see from my screenshot, you can tap into a vast array of pre-defined scripts and templates, and you can create your own folders and templates, too - and use them (also share them in your team).
精彩评论