Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sent_sara
Constraint Violating Yak Guru
377 Posts |
Posted - 2008-12-01 : 00:37:18
|
| Hi Friends,can anyone tell How to Enforce the Execution Plan to use the concern indexSuppose for example:Employee Table has 2 index named indx_1 and indx_2By default the execution plan is using indx_1 ,I need to force the exection plan to use indx_2 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-12-01 : 00:41:49
|
something likeSELECT fields...FROM Employee e WITH (INDEX(indx_2)) |
 |
|
|
sent_sara
Constraint Violating Yak Guru
377 Posts |
Posted - 2008-12-01 : 01:01:59
|
txs visakh16quote: Originally posted by visakh16 something likeSELECT fields...FROM Employee e WITH (INDEX(indx_2))
|
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-12-01 : 01:04:19
|
you're welcome |
 |
|
|
|
|
|