SQL query that returns columns form table A plus a bit column that specifies with the PK of table A
- by dannie.f
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.