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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query to Find Database Differences

Status
Not open for further replies.

mrfritz44

MIS
Nov 21, 2003
75
0
0
US
Is it possible to run a single query to audit the row counts of the tables for an entire database?

My final goal is to find the tables that differ in terms of row count from two separate databases on two different servers.

Any help would be apreciated.

Thanks,

Fred
 
Single query - no. Single small batch or sproc - yes.

------
[small]select stuff(stuff(replicate('<P> <B> ', 14), 109, 0, '<.'), 112, 0, '/')[/small]
[banghead]
 
This needs to be done with Oracle SQL on an Oracle box.....any hints onthe syntax for that batch?
 
Most valuable hint: Post in an ORACLE forum on this site.

This forum is for Microsoft SQL Server.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top