I have a stored procedure in SQL Server. I need to duplicate this procedure in a Sybase Adaptive Server 11.9.2 database.. I recall that @@fetch is supposed to be exlcusive to SQL Server, what is Sybase's syntax?<br><br>Here's the line I need to change:<br><br>while (@@fetch_status = 0)<br><br><br>I would appreciate any help, tips or tricks, thanks.<br>