SQL query that returns columns form table A plus a bit column that specifies with the PK of table A

Posted by dannie.f on Stack Overflow See other posts from Stack Overflow or by dannie.f
Published on 2010-05-21T19:21:26Z Indexed on 2010/05/21 19:30 UTC
Read the original article Hit count: 295

Filed under:
|
|

How can I write an efficient SQL query that returns columns form table A plus a bit column that specifies whether the PK of table A exists in table B? I am using MS SQLServer 2005. Thanks.

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server