Mar 31, 2006 #1 mrfritz44 MIS Joined Nov 21, 2003 Messages 75 Location 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
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
Mar 31, 2006 #2 vongrunt Programmer Joined Mar 8, 2004 Messages 4,863 Location HR Single query - no. Single small batch or sproc - yes. ------ [small]select stuff(stuff(replicate('<P> <B> ', 14), 109, 0, '<.'), 112, 0, '/')[/small] Upvote 0 Downvote
Single query - no. Single small batch or sproc - yes. ------ [small]select stuff(stuff(replicate('<P> <B> ', 14), 109, 0, '<.'), 112, 0, '/')[/small]
Mar 31, 2006 Thread starter #3 mrfritz44 MIS Joined Nov 21, 2003 Messages 75 Location US This needs to be done with Oracle SQL on an Oracle box.....any hints onthe syntax for that batch? Upvote 0 Downvote
Mar 31, 2006 #4 SQLBill MIS Joined May 29, 2001 Messages 7,777 Location US Most valuable hint: Post in an ORACLE forum on this site. This forum is for Microsoft SQL Server. -SQLBill Posting advice: FAQ481-4875 Upvote 0 Downvote
Most valuable hint: Post in an ORACLE forum on this site. This forum is for Microsoft SQL Server. -SQLBill Posting advice: FAQ481-4875
Mar 31, 2006 #5 philhege Programmer Joined Feb 1, 2001 Messages 2,114 Location US FWIW, here's a DB-agnostic comparison tool: http://www.dbbalance.com/products.htm Phil Hegedusich Senior Programmer/Analyst IIMAK http://www.iimak.com----------- Eschewing obfuscation diurnally. Upvote 0 Downvote
FWIW, here's a DB-agnostic comparison tool: http://www.dbbalance.com/products.htm Phil Hegedusich Senior Programmer/Analyst IIMAK http://www.iimak.com----------- Eschewing obfuscation diurnally.