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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 A Simple question

Author  Topic 

Saeed
Starting Member

39 Posts

Posted - 2002-07-29 : 01:02:58
I have a temp table say #B

I want to do something like
Tab_A & B both have Item as a field


select * from Tab_A where Item=#B.Item

What is the correct damn syntax


Edit by Merkin : Moved to the correct damn forum

Edited by - Merkin on 07/29/2002 04:29:22

rksingh024
Yak Posting Veteran

56 Posts

Posted - 2002-07-29 : 02:26:53
select *
from Tab_A INNER JOIN #B ON Tab_A.Item=#B.Item


Ramesh
Go to Top of Page
   

- Advertisement -