Click here to Skip to main content
15,917,862 members
Home / Discussions / Database
   

Database

 
AnswerRe: which one is faster??? Pin
leppie31-Oct-02 6:39
leppie31-Oct-02 6:39 
GeneralRe: which one is faster??? Pin
LukeV31-Oct-02 7:14
LukeV31-Oct-02 7:14 
AnswerRe: which one is faster??? Pin
Morten Abrahamsen31-Oct-02 10:38
Morten Abrahamsen31-Oct-02 10:38 
GeneralRe: which one is faster??? Pin
LukeV31-Oct-02 10:52
LukeV31-Oct-02 10:52 
GeneralRe: which one is faster??? Pin
Paul Riley31-Oct-02 11:58
Paul Riley31-Oct-02 11:58 
GeneralRe: which one is faster??? Pin
Matt Gullett31-Oct-02 17:21
Matt Gullett31-Oct-02 17:21 
AnswerRe: which one is faster??? Pin
Paul Ingles2-Nov-02 4:13
Paul Ingles2-Nov-02 4:13 
AnswerRe: which one is faster??? Pin
Vagif Abilov4-Nov-02 0:41
professionalVagif Abilov4-Nov-02 0:41 
DISTINCT is in general slow (depends on actual data of course). Whenever you use DISTINCT, SQL server needs to group result set (by sorting them) on DISTINCT columns. In case there's no index on those columns, it will take time. On the other hand, if result set is huge, but it contains a lot of repetitions on DISTINCT columns, eliminating repetitions may have positive effect on speed of transferring filtered results to the client.

Vagif Abilov
MCP (Visual C++)
Oslo, Norway


Hex is for sissies. Real men use binary. And the most hardcore types use only zeros - uppercase zeros and lowercase zeros.
Tomasz Sowinski
GeneralJet update flushing Pin
Paul Riley31-Oct-02 3:56
Paul Riley31-Oct-02 3:56 
GeneralRe: Jet update flushing Pin
Rob Graham4-Nov-02 15:14
Rob Graham4-Nov-02 15:14 
GeneralAbout the program using CDaoRecordset! Pin
Forlegend30-Oct-02 19:26
Forlegend30-Oct-02 19:26 
GeneralRe: About the program using CDaoRecordset! Pin
Mazdak30-Oct-02 19:46
Mazdak30-Oct-02 19:46 
GeneralRe: About the program using CDaoRecordset! Pin
Rashid Thadha31-Oct-02 6:02
Rashid Thadha31-Oct-02 6:02 
GeneralPopulating tables with dummy data Pin
leppie29-Oct-02 11:16
leppie29-Oct-02 11:16 
GeneralRe: Populating tables with dummy data Pin
Paul Riley29-Oct-02 11:32
Paul Riley29-Oct-02 11:32 
GeneralRe: Populating tables with dummy data Pin
leppie29-Oct-02 11:43
leppie29-Oct-02 11:43 
GeneralRe: Populating tables with dummy data Pin
Paul Riley29-Oct-02 11:58
Paul Riley29-Oct-02 11:58 
GeneralRe: Populating tables with dummy data Pin
leppie29-Oct-02 12:32
leppie29-Oct-02 12:32 
GeneralRe: Populating tables with dummy data Pin
Paul Riley29-Oct-02 13:22
Paul Riley29-Oct-02 13:22 
GeneralRe: Populating tables with dummy data Pin
SimonS29-Oct-02 19:07
SimonS29-Oct-02 19:07 
GeneralRe: Populating tables with dummy data Pin
leppie30-Oct-02 6:18
leppie30-Oct-02 6:18 
GeneralRe: Populating tables with dummy data Pin
SimonS30-Oct-02 20:38
SimonS30-Oct-02 20:38 
GeneralRe: Populating tables with dummy data Pin
leppie31-Oct-02 6:51
leppie31-Oct-02 6:51 
Generalcrystal reports Pin
Emporer29-Oct-02 11:09
Emporer29-Oct-02 11:09 
GeneralRe: crystal reports Pin
Anonymous1-Nov-02 7:41
Anonymous1-Nov-02 7:41 

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.