Solved

SQL Cursors

Posted on 2011-09-21
2
250 Views
Last Modified: 2012-05-12
What is more effective than a cursors?  Given their (cursors) common use in stored procs?
0
Comment
Question by:TimSweet220
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Expert Comment

by:deighton
ID: 36574805
for optimisation, it is better to use set based SQL if you can
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 500 total points
ID: 36575221
>>Given their (cursors) common use in stored procs?<<
It is rare that CURSORs are used in Stored Procedures and then usually in older code, where the developer migrated from MS Access and did not know any better.
 
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question