Home Forums SQL Server 2012 SQL 2012 - General Initialize sp parameter using a select statement RE: Initialize sp parameter using a select statement
maieras.andrei
SSC Enthusiast
Points: 198
More actions
December 19, 2014 at 5:53 am
#1765677
Well I need the @top parameter so when I call the procedure if the @top is not supplied to return all the rows, else return the @top rows so I don't know if a local variable would help.
Thank you