Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 12/06/2012 :  09:27:05  Show Profile  Reply with Quote
I have two tables:
RFIDtag Title Author Description Image ShelfNumber
2 CalculusI whatever whatever bytes 1
3 CalculusII whatever whatever bytes 1

1 1
2 1
3 1
4 1
5 1
6 1

I want to check if these tables have a common RFIDtag
and then display a table with the common RFIDtags,Title,author,description,image and add the column antenna from the 2nd table to the corresponding RFIDtag

Flowing Fount of Yak Knowledge

United Kingdom
3385 Posts

Posted - 12/06/2012 :  09:33:36  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
select t1.RFIDtag,Title,author,description,image,antenna
from Table1 t1
join table2 t2
on t1.RFIDTag = t2.RFIDTag

Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

Starting Member

2 Posts

Posted - 12/07/2012 :  05:54:43  Show Profile  Reply with Quote
thanks nigelrivett
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000