Generate script file for each stored procedure
I am using "Microsoft SQL Server Management Studio Express 9.00.2047.00" as the interface for SQL Server 2005 Developer Edition.I wanted to create a separate SQL file for each stored procedure in my...
View ArticleRe-Generate the views with some changes in the sctructure
Hello, I have some views in my database that point to another database on the same server. Views also have certain grants for the users/roles I would like to copy database to another...
View ArticleGenerate dates table from transaction table
We have a table with the following fields: ![alt text][1] Almost like in a hotel scenario the days field are actually referring to the number days a patient stayed over. I need to generate a table...
View ArticleDynamically Generate a Sequence Number Based on Date field, with restart...
Hello, I have a data set where I need to generate a specific unique ID using a concatenation of literal values, YYYY of a date field, and a query generated sequence number. example: I have two columns...
View Article