This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » SQL and Databases » list all tables in a db then compare the...
Reply

list all tables in a db then compare the...

dave blohm
Freaking Member



Since: 11 Mar 2002
Posts: 96
Posted 05 Nov 2008 19:02:17

...contents with all tables of the same name in another db

basically, im duplicting a db in MS SQL 2005. once done, i need to verify that every record in db A is in db B

i can list all tables in my db with
<pre id=code><font face=courier size=2 id=code>
USE myDBName
SELECT *
FROM information_schema.Tables</font id=code></pre id=code>

but after that im lost.

any help is greatly appreciated.

- Doc

Progress is made by the discontent.

Edited by - daveblohm on 05 Nov 2008 19:03:00

...contents with all tables of the same name in another db

basically, im duplicting a db in MS SQL 2005. once done, i need to verify that every record in db A is in db B

i can list all tables in my db with
<pre id=code><font face=courier size=2 id=code>
USE myDBName
SELECT *
FROM information_schema.Tables</font id=code></pre id=code>

but after that im lost.

any help is greatly appreciated.

- Doc

Progress is made by the discontent.

Edited by - daveblohm on 05 Nov 2008 19:03:00

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency