I have a source database and a destination database with common tables. Is there any online tool that will sync the schema of tables in the source to destination ? Both databases are in MSSQL
Here are a couple of ideas:
Use Replication: http://www.howtoforge.com/mysql_database_replication
Use mysqldump in an import/export script to semi-automate it
Related
In my SQL Server database, I have a view which uses ssf.dse.ApplicationLog and ssf.dse.applications tables in the background.
The problem is - I can't find these tables in the database: they are not in the Tables folder, not in Views folder, or any other folder.
Did I miss something? What kind of tables have ssf.dse prefix?
ssf.dse.ApplicationLog means:
table ApplicationLog
in the dse schema
in the ssf database
So these tables are stored in a different database - that's why you're not seeing them in your own database ...
I have a number of tables in a database in the server side in PostgreSQL. I want to have them all in another database. Is it possible?
Use PostgreSQL pg_dump utility with -t table option to define tables that should be dumped and restore them in a another database. For more information see PostgreSQL pg_dump documentation page
Is it possible to replicate 2 SQL Servers on table level? (I want to replicate only few tables, not all DB). Both SQL Servers work on different physical servers and should synchronize a few tables.
If it is possible, how to avoid conflicts?
Thanks!
Yes you can use MERGE Replication provided both source and destination table names should be same.I guess transactional replication might support if table names are different.
I have a database schema in SQL 2005 that I want to copy to a SQL 2000 server. It contains tables that have multiple owners. When I try to create a DTS package to transfer the schema I get conflicts because some of the tables have the same name (but different owners). It looks like it is trying to make all the tables to be owned by dbo.
Is there a way to preserve the ownership on the destination server?
It seems like there is no way to do this via DTS so I ended up scripting the database and recreating it from that script.
How do I migrate table schemas from one DB to another without damaging the data in the destination DB?
I want to move my data from my deployed development copy to the live database and would like to run some scripts to do it. I need to upgrade the schema for some tables and create others. I figure right now that I'll have to check each of the tables in the destination DB against the deployment one and then copy the new tables but that will be quite tedious. Are there any suggestions on how I can do this?
Check out SQL Compare tool by Redgate
http://www.red-gate.com/products/SQL_Compare/index.htm
You should be able to compare both the databases and then generate scripts based on the differences.
You can use a tool to generate the scripts. Redbrick has one, and Erwin can do deltas as well.
Another one besides the excellent Red-Gate SQL Compare is ApexSQL's SQL Diff.
ApexSQL also has a SQL Data Diff if you also need to compare and synchronize data from various sources.
Highly recommended!
Marc
In addition to the RedGate software mentioned above, Embarcadero Change Manager can do both schema and data instance compares, then generate alter scripts for the schemas and DML scripts for the data to bring two database in sync.