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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-05-19 : 17:20:26
|
| writes "Hello,I have Just Some Queries in SQL 2000 That I Think They Can Be Better and Faster Done, If I Can Change Execution Plans For Them.e.g. It seems that some projections on Joined tables before joining them is so good, but i think that Execution Plans don't do them. See This:1)select * from Table1 , Table 2Where Table1.AnyField = Table2.AnyField And Table1.OtherField = Value12)select * from Table1 , Table 2Where Table1.OtherField = Value1 and Table1.AnyField = Table2.AnyFieldDoes Execution Plan, Make Different Plan for Those two Codes?If So or not , What can I do?Thanksyadegari" |
|
|
daveman6610
Starting Member
8 Posts |
Posted - 2004-05-19 : 23:06:32
|
| Execution plan should be the same for both |
 |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-05-19 : 23:14:26
|
| Hi Dave. You're on late. lolMeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
|
|
|