Click here to Skip to main content
15,914,642 members
Home / Discussions / Database
   

Database

 
AnswerRe: Show Column Name once for similar records Pin
ps_prakash0217-Aug-10 22:56
ps_prakash0217-Aug-10 22:56 
QuestionTop 100 Pin
Mycroft Holmes11-Aug-10 20:19
professionalMycroft Holmes11-Aug-10 20:19 
AnswerRe: Top 100 Pin
Jörgen Andersson11-Aug-10 20:32
professionalJörgen Andersson11-Aug-10 20:32 
GeneralRe: Top 100 Pin
Mycroft Holmes11-Aug-10 20:41
professionalMycroft Holmes11-Aug-10 20:41 
GeneralRe: Top 100 Pin
Jörgen Andersson11-Aug-10 21:31
professionalJörgen Andersson11-Aug-10 21:31 
GeneralRe: Top 100 Pin
Mycroft Holmes11-Aug-10 21:54
professionalMycroft Holmes11-Aug-10 21:54 
GeneralRe: Top 100 Pin
Pete O'Hanlon13-Aug-10 21:30
mvePete O'Hanlon13-Aug-10 21:30 
GeneralRe: Top 100 Pin
Mycroft Holmes14-Aug-10 0:18
professionalMycroft Holmes14-Aug-10 0:18 
My assumption is that without and order by clause it should not have to scan the table, just get the first 10 records. It was during development so the performance was not really relevant as I had to tune the indexes after stabilising the query. I was just astonished it was slower than the full select.

Transforming this data in is going to take about 6 hours by the look of it, thankfully it is monthly not daily!
Never underestimate the power of human stupidity
RAH

QuestionSQL Query - AND / OR / IF / ELSE Pin
Joe Stansfield11-Aug-10 18:50
Joe Stansfield11-Aug-10 18:50 
AnswerRe: SQL Query - AND / OR / IF / ELSE Pin
Mycroft Holmes11-Aug-10 19:49
professionalMycroft Holmes11-Aug-10 19:49 
AnswerRe: SQL Query - AND / OR / IF / ELSE Pin
Bernhard Hiller11-Aug-10 22:59
Bernhard Hiller11-Aug-10 22:59 
QuestionMessage Removed Pin
11-Aug-10 12:50
john john mackey11-Aug-10 12:50 
AnswerRe: Synchronizing form interaction Pin
Mycroft Holmes11-Aug-10 14:51
professionalMycroft Holmes11-Aug-10 14:51 
Questionnvarchar(max)(To Be Or Not To Be) Pin
moein.serpico11-Aug-10 4:39
moein.serpico11-Aug-10 4:39 
AnswerRe: nvarchar(max)(To Be Or Not To Be) Pin
Chris Meech11-Aug-10 6:25
Chris Meech11-Aug-10 6:25 
AnswerRe: nvarchar(max)(To Be Or Not To Be) Pin
Jörgen Andersson11-Aug-10 9:23
professionalJörgen Andersson11-Aug-10 9:23 
AnswerRe: nvarchar(max)(To Be Or Not To Be) Pin
PIEBALDconsult11-Aug-10 16:06
mvePIEBALDconsult11-Aug-10 16:06 
AnswerRe: nvarchar(max)(To Be Or Not To Be) Pin
David Skelly12-Aug-10 2:21
David Skelly12-Aug-10 2:21 
QuestionTrouble with SQL Server Records Updation Pin
swornavidhya_m11-Aug-10 3:54
swornavidhya_m11-Aug-10 3:54 
AnswerRe: Trouble with SQL Server Records Updation Pin
Eddy Vluggen11-Aug-10 6:22
professionalEddy Vluggen11-Aug-10 6:22 
GeneralRe: Trouble with SQL Server Records Updation Pin
swornavidhya_m11-Aug-10 18:45
swornavidhya_m11-Aug-10 18:45 
GeneralRe: Trouble with SQL Server Records Updation Pin
Eddy Vluggen11-Aug-10 20:42
professionalEddy Vluggen11-Aug-10 20:42 
GeneralRe: Trouble with SQL Server Records Updation Pin
swornavidhya_m11-Aug-10 21:19
swornavidhya_m11-Aug-10 21:19 
GeneralRe: Trouble with SQL Server Records Updation Pin
Eddy Vluggen11-Aug-10 21:39
professionalEddy Vluggen11-Aug-10 21:39 
QuestionQuery performance Pin
SatyaKeerthi159-Aug-10 23:09
SatyaKeerthi159-Aug-10 23:09 

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.