Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use multiple cursors

Status
Not open for further replies.

maheinn

Programmer
Jun 6, 2010
1
IN
Hi I need to retrieve data from two tables by using cursors
here i need to get data from first table and by comparing with second table data should be retrieved.
can any one help me how to use two cursors on two diff tables and retrieving
 
Jbenson is right, you do NOT want to use cursors, they are performance killers and are the last resort if nothing else works. If you are not a dba, it is best that you forget about using cursors ever. Give use some sample data and sample results and we can figure out a set-based way to do you task.

"NOTHING is more important in a database than integrity." ESquared
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top