Solved

SQL Cursors

Posted on 2011-09-21
2
255 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

632 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