Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best practice: EXISTS vs COL_NAME in
Message
 
 
To
13/05/2010 15:33:54
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01464472
Message ID:
01464475
Views:
57
>I prefer:
>
>select Table1.*
>FROM Table1
>INNER JOIN Table2 ON Table1.pk_fld = Table2.pk_fld and Table1.fld2 = '123'
>
Boris,

You know well enough that the result would be different than EXISTS in case of 1 to Many.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform