Click here to Skip to main content
15,905,233 members
Home / Discussions / Database
   

Database

 
Questiongrouped Pin
Amarni27-May-06 1:50
Amarni27-May-06 1:50 
AnswerRe: grouped Pin
Colin Angus Mackay27-May-06 2:22
Colin Angus Mackay27-May-06 2:22 
Questionneed help in ADO VC++ Pin
GANsJob26-May-06 18:56
GANsJob26-May-06 18:56 
QuestionSQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 10:12
Jawz-X26-May-06 10:12 
GeneralRe: SQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 10:18
Jawz-X26-May-06 10:18 
AnswerRe: SQL Server Cursor - Quick Question Pin
Eric Dahlvang26-May-06 11:12
Eric Dahlvang26-May-06 11:12 
QuestionRe: SQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 11:53
Jawz-X26-May-06 11:53 
AnswerRe: SQL Server Cursor - Quick Question Pin
Colin Angus Mackay26-May-06 21:20
Colin Angus Mackay26-May-06 21:20 
Jawz-X wrote:
But why then are cursors to be considered a last resort?


Because they are increadibly slow. I once saw a question on this forum complaining that the code was taking too long (it was using cursors). I suggested a better query to use without cursors and the operation took around one second to complete.

Some things cannot be solved without cursors which is why they exist. But oftentimes the code can be re-written without cursors.


"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
Questionproblem with sql server Pin
lucky123456026-May-06 9:12
lucky123456026-May-06 9:12 
AnswerRe: problem with sql server Pin
Colin Angus Mackay26-May-06 11:31
Colin Angus Mackay26-May-06 11:31 
QuestionSQL - SELECT Question Pin
ensger26-May-06 7:23
ensger26-May-06 7:23 
AnswerRe: SQL - SELECT Question Pin
Kschuler26-May-06 9:30
Kschuler26-May-06 9:30 
GeneralRe: SQL - SELECT Question Pin
ensger26-May-06 18:02
ensger26-May-06 18:02 
GeneralFound it - thanks Pin
ensger27-May-06 1:01
ensger27-May-06 1:01 
QuestionGet XML node as 'text' data type Pin
Jim Conigliaro25-May-06 8:53
Jim Conigliaro25-May-06 8:53 
AnswerRe: Get XML node as 'text' data type Pin
Arjan Einbu25-May-06 12:49
Arjan Einbu25-May-06 12:49 
QuestionBest Practices for including a SQL DB as part of your apps Pin
gantww25-May-06 8:24
gantww25-May-06 8:24 
AnswerRe: Best Practices for including a SQL DB as part of your apps Pin
Rob Graham25-May-06 11:10
Rob Graham25-May-06 11:10 
QuestionSQL server 2005 express ed Pin
Paps225-May-06 7:54
Paps225-May-06 7:54 
QuestionLogin system help? Pin
eric_tran25-May-06 5:34
eric_tran25-May-06 5:34 
AnswerRe: Login system help? Pin
Colin Angus Mackay25-May-06 10:31
Colin Angus Mackay25-May-06 10:31 
QuestionProblems with MSDE & Networking Pin
nathan2240525-May-06 4:46
nathan2240525-May-06 4:46 
AnswerRe: Problems with MSDE & Networking Pin
woudwijk25-May-06 11:09
woudwijk25-May-06 11:09 
QuestionOdd question - Datasets and Sprocs Pin
NameNotTaken25-May-06 4:16
NameNotTaken25-May-06 4:16 
AnswerRe: Odd question - Datasets and Sprocs Pin
Colin Angus Mackay25-May-06 10:03
Colin Angus Mackay25-May-06 10:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.