Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
General
»
Compare two databases
28 posts, Page 2 of 3
««
1
2
3
»»
Compare two databases
Rate Topic
Display Mode
Topic Options
Author
Message
abhas1981-866406
abhas1981-866406
Posted Monday, September 01, 2008 12:32 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, May 11, 2009 4:04 AM
Points: 1,
Visits: 8
Hi Viktor,
I have tried ur URL but it seems that URL is not active now. Will u please send the script of ur Sp_compare DB database....
Post #561868
Jeff Moden
Jeff Moden
Posted Monday, September 01, 2008 7:21 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Yesterday @ 2:32 PM
Points: 32,906,
Visits: 26,792
G.R.Preethiviraj Kulasingham (9/25/2003)
I too faced your situation and finally wrote the scripts myself.
I'll be happy if my scripts are usefull
Please check
http://www.sqlservercentral.com/scripts/listscriptsbyauthor.asp?author=1771
There are many wonderfull tools available in the market. But for my need, any where I can control, scripts are the best.
Cheers,
Preethiviraj Kulasingham
The link doesn't work.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #562145
Jeff Moden
Jeff Moden
Posted Monday, September 01, 2008 7:24 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Yesterday @ 2:32 PM
Points: 32,906,
Visits: 26,792
Khalidhussain (9/24/2003)
I need to compare two databases (e.g. Development DB and Test DB) to make sure they are 100% identical. Is there a way to create a SQL view, which can do this job for me?
I want to compare following:
Table name in Development and Test databases
Table structure in Development and Test databases (including identity seed and identity increment in each table)
View name in Development and Test databases
View structure in Development and Test databases
Stored procedure name in Development and Test databases
Stored procedure structure in Development and Test databases
We have ‘system data’ tables they hold data, which we need in our VB6 system.
These tables can be identify as prefix ‘sysd’ and table name e.g. sysdStatus hold all possible statuses for a policy.
I need to compare those system data in Development and Test databases as well.
Thank you
I don't see anything where you talk about what you would do if they're different. It you want to make sure they are the same, snapshot one over the other.
Now, if you want to identify the differences, then you'll need something like SQL Compare and Data Compare from Redgate. Yes, you could write your own... it will cost you more to do that both in the form of errors and total hours/dolarrs spent than just buying the product which has been tested and tested and retested.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #562147
Abhijit More
Abhijit More
Posted Tuesday, September 02, 2008 3:27 AM
SSC Eights!
Group: General Forum Members
Last Login: Thursday, May 16, 2013 8:06 AM
Points: 900,
Visits: 654
Hi Khalidhussain,
Instead of wasting your time in writing a script for comparing database objects, I'll suggest to to better go for third party tool available.
Abhijit - http://abhijitmore.wordpress.com
Post #562269
Andrew Watson-478275
Andrew Watson-478275
Posted Tuesday, September 02, 2008 9:06 AM
SSC Eights!
Group: General Forum Members
Last Login: Saturday, May 18, 2013 1:44 AM
Points: 953,
Visits: 1,875
I know you mention that your systems are VB6, but if you also do development on later versions (2005 onwards) of Visual Studio (I think it has to be VS Team System), these have a schema compare tool available, which works after a fashion.
Post #562447
shilpa.shankar87
shilpa.shankar87
Posted Wednesday, August 24, 2011 7:31 AM
Valued Member
Group: General Forum Members
Last Login: Today @ 12:32 AM
Points: 64,
Visits: 242
Im not able to see any of the scripts given above
Post #1164668
GilaMonster
GilaMonster
Posted Wednesday, August 24, 2011 7:43 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 12:38 AM
Points: 37,725,
Visits: 29,981
Please note, this thread is 8 years old.
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1164681
ravishankar.yedoti
ravishankar.yedoti
Posted Wednesday, August 24, 2011 9:38 AM
Grasshopper
Group: General Forum Members
Last Login: Friday, May 03, 2013 11:34 AM
Points: 20,
Visits: 137
but , i require that to be worked now. Please provide me solution for that.
Post #1164798
GilaMonster
GilaMonster
Posted Wednesday, August 24, 2011 9:59 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 12:38 AM
Points: 37,725,
Visits: 29,981
http://www.red-gate.com/products/sql-development/sql-compare/
http://www.red-gate.com/products/sql-development/sql-data-compare/
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1164820
Ninja's_RGR'us
Ninja's_RGR'us
Posted Wednesday, August 24, 2011 10:17 AM
SSC-Insane
Group: General Forum Members
Last Login: Yesterday @ 2:27 PM
Points: 21,357,
Visits: 9,537
ravishankar.yedoti (8/24/2011)
but , i require that to be worked now. Please provide me solution for that.
Next time please start a new thread. You're likelier to get more help faster (more people will see it).
Also be careful about your wording, that phrase can be interpreted as "do my work now".
I think this is not what you meant and that english is not your best language. So just keep that in mind for next time
.
Post #1164829
« Prev Topic
|
Next Topic »
28 posts, Page 2 of 3
««
1
2
3
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.