Click here to Skip to main content
15,885,366 members
Home / Discussions / Database
   

Database

 
QuestionAssigning the value from a QueryDef object... Pin
new_phoenix5-Oct-07 6:21
new_phoenix5-Oct-07 6:21 
Questionneed to use CrossJoin, and find differnece in Columns Pin
The Don Man5-Oct-07 6:13
The Don Man5-Oct-07 6:13 
QuestionDescription for various tables elements Pin
Brendan Vogt5-Oct-07 6:09
Brendan Vogt5-Oct-07 6:09 
AnswerRe: Description for various tables elements Pin
Jwalant Natvarlal Soneji7-Oct-07 21:36
Jwalant Natvarlal Soneji7-Oct-07 21:36 
QuestionStored Procedures Pin
kibromg5-Oct-07 4:12
kibromg5-Oct-07 4:12 
AnswerRe: Stored Procedures Pin
Michael Potter5-Oct-07 4:39
Michael Potter5-Oct-07 4:39 
GeneralRe: Stored Procedures Pin
kibromg5-Oct-07 4:53
kibromg5-Oct-07 4:53 
GeneralRe: Stored Procedures Pin
Michael Potter5-Oct-07 5:36
Michael Potter5-Oct-07 5:36 
Indexing is a table by table, query by query decision. I have no idea about the structure of your data or your queries.

Take a look at your slow query's WHERE clause. This may dictate the index for you. Using an example query:
SELECT 
    *
FROM 
    mytable
WHERE 
    myDate < '1/1/2007' and 
    myColor = 'Green'

Here you would examine your data and take a good guess as to which column filter reduces the result set the most. Lets say it is [myColor]:
CREATE INDEX myIndex ON myTable
(
   mycolor,
   mydate
)

GeneralRe: Stored Procedures Pin
kibromg5-Oct-07 6:05
kibromg5-Oct-07 6:05 
GeneralRe: Stored Procedures Pin
Michael Potter5-Oct-07 8:50
Michael Potter5-Oct-07 8:50 
GeneralRe: Stored Procedures Pin
GuyThiebaut5-Oct-07 9:07
professionalGuyThiebaut5-Oct-07 9:07 
QuestionTool to generate data Pin
matthias s.5-Oct-07 3:16
matthias s.5-Oct-07 3:16 
QuestionTO STORE IMAGES FROM FOLDER TO DATA BASE Pin
kishoregani5-Oct-07 2:39
kishoregani5-Oct-07 2:39 
AnswerRe: TO STORE IMAGES FROM FOLDER TO DATA BASE Pin
Christian Graus5-Oct-07 2:52
protectorChristian Graus5-Oct-07 2:52 
AnswerRe: TO STORE IMAGES FROM FOLDER TO DATA BASE Pin
Vasudevan Deepak Kumar5-Oct-07 3:39
Vasudevan Deepak Kumar5-Oct-07 3:39 
AnswerRe: TO STORE IMAGES FROM FOLDER TO DATA BASE Pin
Paul Conrad7-Oct-07 11:09
professionalPaul Conrad7-Oct-07 11:09 
QuestionUpdating one Dataset from another Dataset. Pin
Hemant.Kamalakar5-Oct-07 2:11
Hemant.Kamalakar5-Oct-07 2:11 
AnswerRe: Updating one Dataset from another Dataset. Pin
Kschuler5-Oct-07 6:18
Kschuler5-Oct-07 6:18 
GeneralRe: Updating one Dataset from another Dataset. Pin
Hemant.Kamalakar5-Oct-07 19:30
Hemant.Kamalakar5-Oct-07 19:30 
GeneralRe: Updating one Dataset from another Dataset. Pin
Hemant.Kamalakar15-Oct-07 2:05
Hemant.Kamalakar15-Oct-07 2:05 
GeneralRe: Updating one Dataset from another Dataset. Pin
Kschuler15-Oct-07 3:15
Kschuler15-Oct-07 3:15 
Questionhow to update a sum value from join tables? Pin
Eunice (VB junior)5-Oct-07 0:07
Eunice (VB junior)5-Oct-07 0:07 
AnswerRe: how to update a sum value from join tables? Pin
Joe5-Oct-07 1:00
Joe5-Oct-07 1:00 
GeneralRe: how to update a sum value from join tables? Pin
Eunice (VB junior)8-Oct-07 16:18
Eunice (VB junior)8-Oct-07 16:18 
AnswerRe: how to update a sum value from join tables? Pin
pmarfleet5-Oct-07 1:02
pmarfleet5-Oct-07 1:02 

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.