How to automatically get the Results of TSQL query in a new query window?

0 like 0 dislike
7 views
1) Make the sample
select Column from Table

Get this result:
5aead00facf31064905677.png

2) How now to automate so that these lines fall in a new query window and run?
5aead048f3dee641850772.png
by | 7 views

1 Answer

0 like 0 dislike
you will need a CURSOR and the CONTRACTOR
by

Related questions

0 like 0 dislike
1 answer
asked May 10, 2019 by forgetable
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
33,963 users