dbTalk Databases Forums  

Comparing two tables

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Comparing two tables in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JJ297
 
Posts: n/a

Default Comparing two tables - 09-28-2007 , 08:28 AM






What is the correct syntax to do so.

I have the same fields in the table.

Tables called Books and Titles

Fields are TitleID and Titles

Using SQL 2000

Please assist.

Thanks.


Reply With Quote
  #2  
Old   
Martijn Tonies
 
Posts: n/a

Default Re: Comparing two tables - 09-28-2007 , 08:43 AM






Quote:
What is the correct syntax to do so.
To do what exactly?

What do you want to compare? "two tables", what does that mean?
Compare the values in all columns in all rows to all values in all columns
and all rows in the other table?

Or compare the metadata of one table to another?

Or compare a specific row of data in one table to a specific row in
another table?

Quote:
I have the same fields in the table.

Tables called Books and Titles

Fields are TitleID and Titles

Using SQL 2000

Please assist.
Please be specific.


--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com




Reply With Quote
  #3  
Old   
Jack Vamvas
 
Posts: n/a

Default Re: Comparing two tables - 09-28-2007 , 09:57 AM



Are you trying to find if there are any differences . ?
Could you post the Table definition.

--

Jack Vamvas
___________________________________
Search IT jobs from multiple sources- http://www.ITjobfeed.com/SQL




"JJ297" <nc297 (AT) yahoo (DOT) com> wrote

Quote:
What is the correct syntax to do so.

I have the same fields in the table.

Tables called Books and Titles

Fields are TitleID and Titles

Using SQL 2000

Please assist.

Thanks.




Reply With Quote
  #4  
Old   
JJ297
 
Posts: n/a

Default Re: Comparing two tables - 09-28-2007 , 11:13 AM



On Sep 28, 10:57 am, "Jack Vamvas" <DEL_TO_RE... (AT) del (DOT) com> wrote:
Quote:
Are you trying to find if there are any differences . ?
Could you post the Table definition.

--

Jack Vamvas
___________________________________
Search IT jobs from multiple sources- http://www.ITjobfeed.com/SQL

"JJ297" <nc... (AT) yahoo (DOT) com> wrote in message

news:1190986090.401483.184000 (AT) 19g2000hsx (DOT) googlegroups.com...



What is the correct syntax to do so.

I have the same fields in the table.

Tables called Books and Titles

Fields are TitleID and Titles

Using SQL 2000

Please assist.

Thanks.- Hide quoted text -

- Show quoted text -
I was trying to compare the values in both tables. Realized I don't
have to do that now will create a process so users can do this
themselves! Thanks anyway.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.