473,395 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to compate two versions of the same database

RedSon
5,000 Expert 4TB
Hi all,

I have two databases with identical schema. One was populated with information a while ago and one has since been updated. Is there a simple query I can run on a per table bases that will compare all rows and output the rows that have changed?

Its for SQL Server Mobile not SQL Server 2008 or anything. So my SQL is somewhat limited. Pretend it's vintage 2000 database engine.

Thanks for you help!
May 21 '09 #1
5 2480
RedSon
5,000 Expert 4TB
It's SQL Server Compact, thats the official name.
May 21 '09 #2
ck9663
2,878 Expert 2GB
I believe there are utilities out there that you can use to compare two databases. If you want it manually, try this. But that's only for tables. What about other objects?

Can't you just define which one is the primary and use that to overwrite the other?

--- CK
May 22 '09 #3
RedSon
5,000 Expert 4TB
No, the idea is to not overwrite just compare.
May 22 '09 #4
ck9663
2,878 Expert 2GB
RedSon,

Will this work?


--- CK
May 25 '09 #5
RedSon
5,000 Expert 4TB
The SQL Server CE I am using does not support stored procedures, but I can use some of the information you have provided. Thanks! I will look it over and try to solve the issue :)
May 26 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jim Maas | last post by:
I'm taking up a new position and have never used sql before although use and code in lots of other languages. When doing a bit of survey I find many many versions of commercial and public versions...
6
by: Martin Meyer im Hagen | last post by:
Hello, I've got installed Win 2003 SBS Premium with the SQL Server 2000 on a server machine. It works almost fine, except the application which uses the SQL Server. The main part of the...
0
by: Oliver Elphick | last post by:
The attached proposal is written primarily for Debian. Its motivation is that the current package upgrade process is pretty flaky and also that the current packaging does not really provide for...
0
by: Fernando Nasser | last post by:
Multiple database services and multiple versions on Red Hat Linux systems The way it works is that we require a specific service script for each database service (that is listening on each port)....
43
by: James Stewart | last post by:
If I were to begin creating a fairly simple database, i.e. a datasheet that would include two related tables to create an encyclopedic style database and then create some fairly indepth forms to...
37
by: Allen Browne | last post by:
If you develop for others, you probably have multiple versions of Access installed so you can edit and create MDEs for clients in different versions. This works fine under Windows XP, even with...
1
by: mmurrayepl | last post by:
How can I combine 2 versions of the same database without losing or duplicating data? We have a periodicals checkin database at the Library. A user copied the database to the desktop instead of...
9
by: python | last post by:
Background: I'm going to be processing some raw transaction logs that are 30G in size. As part of this processing I may need to create some very large dictionary structures. I will be running my...
1
by: M.-A. Lemburg | last post by:
On 2008-07-25 08:13, python@bdurham.com wrote: Yes. But then Intel Itanium is being phased out anyway and the AMD64 build works on both Intel and AMD processors. True.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.