Click here to Skip to main content
15,908,834 members
Home / Discussions / Database
   

Database

 
QuestionReporting Services Multilingual ? Pin
ArunkumarSundaravelu5-Jun-07 3:08
ArunkumarSundaravelu5-Jun-07 3:08 
QuestionError in executing stored procedure:not a valid identifier Pin
Kusumasrinivas5-Jun-07 0:24
Kusumasrinivas5-Jun-07 0:24 
AnswerRe: Error in executing stored procedure:not a valid identifier Pin
andyharman5-Jun-07 0:59
professionalandyharman5-Jun-07 0:59 
AnswerRe: Error in executing stored procedure:not a valid identifier Pin
P_pk9-Jun-07 0:15
P_pk9-Jun-07 0:15 
Questionsqlserverdoubt Pin
saravanan054-Jun-07 23:40
saravanan054-Jun-07 23:40 
AnswerRe: sqlserverdoubt Pin
Krish - KP5-Jun-07 17:25
Krish - KP5-Jun-07 17:25 
Questionindex order Pin
Shajeel4-Jun-07 21:24
Shajeel4-Jun-07 21:24 
AnswerRe: index order Pin
Pete O'Hanlon4-Jun-07 22:25
mvePete O'Hanlon4-Jun-07 22:25 
This sounds suspiciously like homework to me, but I'll answer it anyway.

If you have created two indexes, then they will most likely be used. Note that the usage depends entirely on the query execution plan that the DB server determines is the best usage. Suppose that there are only 2 possible values in col2, then the engine may determine that it needs to do a sequential scan because there is not enough differentiation in the data to allow it to perform an indexed scan. Similarly, if there are only a few rows in the table then it may perform a sequential scan because the engine has determined that the row count is too few to allow it to index search efficiently.

As always, the best way to find out the answer is to try it out yourself.

Deja View - the feeling that you've seen this post before.

GeneralRe: index order Pin
Shajeel4-Jun-07 22:48
Shajeel4-Jun-07 22:48 
GeneralRe: index order Pin
andyharman4-Jun-07 23:05
professionalandyharman4-Jun-07 23:05 
Question0about update statement Pin
Nilesh Mitra4-Jun-07 20:12
Nilesh Mitra4-Jun-07 20:12 
AnswerRe: 0about update statement Pin
WoutL4-Jun-07 20:55
WoutL4-Jun-07 20:55 
QuestionHow to disable and monitor user connection Pin
Bob Vila4-Jun-07 14:09
Bob Vila4-Jun-07 14:09 
AnswerRe: How to disable and monitor user connection Pin
leckey4-Jun-07 17:40
leckey4-Jun-07 17:40 
QuestionAdd only form in access - disable combobox drop Pin
Dan Neely4-Jun-07 9:43
Dan Neely4-Jun-07 9:43 
QuestionCharacter Encoding in .DBF Pin
tg20044-Jun-07 9:11
tg20044-Jun-07 9:11 
QuestionMSDE Problems Pin
Brendan Vogt4-Jun-07 6:49
Brendan Vogt4-Jun-07 6:49 
AnswerRe: MSDE Problems Pin
Paul Conrad4-Jun-07 7:06
professionalPaul Conrad4-Jun-07 7:06 
Questionchecking the datatype of a column in a table Pin
steve_rm4-Jun-07 6:00
steve_rm4-Jun-07 6:00 
AnswerRe: checking the datatype of a column in a table Pin
Arun.Immanuel4-Jun-07 6:53
Arun.Immanuel4-Jun-07 6:53 
AnswerRe: checking the datatype of a column in a table Pin
andyharman4-Jun-07 6:58
professionalandyharman4-Jun-07 6:58 
QuestionVeeeeeeeeeery slow queries in MS SQL 2005 Pin
3fonov4-Jun-07 3:51
3fonov4-Jun-07 3:51 
QuestionRe: Veeeeeeeeeery slow queries in MS SQL 2005 Pin
andyharman4-Jun-07 6:13
professionalandyharman4-Jun-07 6:13 
AnswerRe: Veeeeeeeeeery slow queries in MS SQL 2005 Pin
3fonov4-Jun-07 7:01
3fonov4-Jun-07 7:01 
GeneralRe: Veeeeeeeeeery slow queries in MS SQL 2005 Pin
andyharman4-Jun-07 7:28
professionalandyharman4-Jun-07 7:28 

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.