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