Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help...

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
How can I compare 2 tables with promary key.(Not to use cursor or join).
Thanks
 

Why avoid a JOIN? JOINS are very essential in many comparisons.

What are you comparing? Do you want to detemine if

1) the primary key of table1 exists in table2?
2) entire records are duplcated in the tables?
3) some of the column values are the same (or different) for the same primary key?

There are many different comaprisons that can be performed. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top