« first day (1503 days earlier)      last day (2815 days later) » 

3:07 AM
I have a table as follow:
 
 
5 hours later…
8:18 AM
@JoshuaAslanSmith That's not going to work unless you a). Create the statements like that and call them in a cursor, b). create them like that and run them manually, or c) (personnally prefered) rewrite proc as a Table Valued Function (TVF) and then you can CROSS/OUTER APPLY them
@Samuel ...that's called an Empty table, right :-)
 
 
9 hours later…
5:31 PM
@Shaneis miscommunication, boss wanted me to make a select to generate output for single line exec statements and I got it worked out, thank you for responding though
 

« first day (1503 days earlier)      last day (2815 days later) »