Posted by: bhikari January 19, 2011
sql server Cursor question
Login in to Rate this Post:     0       ?        
I need to compare variable I get from Cursor. I need to compare the same variable from previous record of Cursor to variable from current record coming from a cursor.

So, I need to save the previous value of variable to compare with current one..need something like 

@Var1=@Var2, but this doesnt work..


Help please
Read Full Discussion Thread for this article