sql server - How do I convert an sql script into an executable .sql file? -
My manager asked me to compile a set of SQL scripts, I used some of those scripts to update the new record (Used in some SSMS and SSIS), to create tables and scripts that I use to add foreign keys to the Dies table in the fact table.
They asked me to do this ... can you send me the SQL script to create the initial environment please put it in an executable .sql file.
I have not done this before and what tools should I use? SSMS? This SSIS? Or Notepad?
I am using SQL Server, I have tools SSMS and BIDS
< In P> SSMS, type a SQL statement and save. This will create a txt document with an .sql extension Depending on your file association, open the SSMS and load this file, it will extract the file. To create an initial environment , to send a SQL script, there is no such thing that you have to prepare; We do not know anything about your environment.
I have created SQL scripts, in which there are several steps to help me run repetitive tasks. Run it once and my work is done, but I have made them once-by-hand with one hand. ">
Comments
Post a Comment