Cursor

Database
Enthusiast

Cursor

Hi,

I am migrating stored procedure of SQL Server 2005 to Teradata. This stored procedure contains cursor and the statement

IF (@@FETCH_STATUS <> -2)
BEGIN

--Some statements

END;

I need the equivalent statements in Teradata for above one

If someone knows please let me know it..

Thanks