Viewing post 1 (of 1 total)
no but you could do
@sql = 'select * from table'
@cursor = 'DECLARE cursorTest CURSOR FOR '
exec(@cursor + @sql)
February 13, 2004 at 9:45 am
#494026