November 22, 2016 at 9:31 am
In SQL manage studio result panel, right click the result, select "Save results as...", I can save result as csv file.
How to generate SQL statement from there to create a store procedure?
November 22, 2016 at 9:40 am
adonetok (11/22/2016)
In SQL manage studio result panel, right click the result, select "Save results as...", I can save result as csv file.How to generate SQL statement from there to create a store procedure?
No, not without concatenating the column values with the delimiter and then use result to a file. The caveat is that this way there will be one column header for all the output but you can always remove the first two rows, the column header and the -----------.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy