Access data within a SQL Server cursor -


is possible access temp data created within sql server cursor? set conditions within cursor depends on data cursor has example:

cursor declaration.....

if (@column = (select max(id) cursor_name/table rid = @rid)) begin     .... 

i'm doing using table variable being read cursor wonder if there's better way achieve this, suggestions?

thanks


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -