I am creating a lot of stored procedures in Microsoft SQL Server Management Studio 2008.
I am using the Query -> Specify Values for Template Parameters method.
I wonder if someone knows how to have the Author and Create date fields automatically contain my name and the current date. At the moment I have to type them in again and again.
Thanks in advance.
I don’t think you can. You could write some dynamic SQL that prints your template. You can then tell it to print GETDATE(), and your name would be stored as a variable.
You would run the code then paste the result into your window as your template.