Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quickest way to see if a record exists
Message
 
 
To
17/09/2008 06:39:44
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 6.5 and older
Miscellaneous
Thread ID:
01348134
Message ID:
01348172
Views:
31
Re-read my previous post.

>so what am I doing wrong here
>
>
> SELECT pk  FROM myTable  where exists( SELECT *  FROM myTable  where id ="12345" )
>
>this returns every record in the table
>TIA
>Stuart
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform