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

Database

 
GeneralRe: Best SQL Server 2000 Book Pin
mikasa1-Nov-02 7:37
mikasa1-Nov-02 7:37 
Questionwhich one is faster??? Pin
LukeV31-Oct-02 6:12
LukeV31-Oct-02 6:12 
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 
If the 'word' column is indexed as unique, SQL Server will not have to look through the entire table and will only need to search the index (very fast) to find the desired row.

If the 'word' column is indexed as non-unique, SQL server will still search the index, but may need to return more than one row.

If the 'word' column is not indexed SQL server will do a table-scan (full table search) and return every match.

You can use the SELECT TOP 1 bla.bla.bla syntax, but probably what you want is for SQL Server to have a unique index on the 'word' column.
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 
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 

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.