Hi all!
I need to create a cursor using the following syntax but I need to define my Select String base on the values that I receive. In other word I need to construct the Select statement first. Can I do that?
Declare @SQLStatement = "Select * From AOP_Financial Journal"
declare TempGregorio CURSOR for @SQLStatement.