Use Cursor In Stored Procedure Sql Syntax