Mssql Declare Cursor With Hold