Synch the multiple databases data into one database - database

We have databases like oracle, sql server, postgres and looking to synch the data like full/delta load into one database. Can you suggest some tool to do this.

Yes, SSMA can do that.
Migration Sources allowed are:
SQL Server Migration Assistant for Access
SQL Server Migration Assistant for DB2
SQL Server Migration Assistant for MySQL
SQL Server Migration Assistant for Oracle
SQL Server Migration Assistant for SAP ASE
But the destination will always be SQL Server.
Once your databases are all SQL Server I suggest you to merge them all together dividing them by schema.
Is a very primitive way to work but is the only I know.

Related

Online replication/Mirroring/Migrating Oracle and SQL Server Database to Azure

I am trying to replicate the source database (Oracle 11g and MS SQL Server 201x) to Azure SQL Database. Initially I thought of using Azure DMS(Database Migration Service) to do a full load + Change Data Capture for changes. After started to work on this, I learnt that the DMS requires Control Server privileges on the SQL Server Database and DBA Role on Oracle. We might not get these permissions on the source databases as they are managed by third party company (SaaS model). However, we have read permissions on the source database/tables.
We have to achieve the following :
Replicate data from Oracle Source System to Azure SQL Database and
Replicate data from SQL Server 201x to Azure SQL Database.
What should be the approach?
Azure SQL Data Sync? I read on the forum that it actually writes/creates tables in the source database. This won't be acceptable.
Transactional replication for SQL Server? - Has any one tried? Can you please share your experience?
Third option I thought was to use Attunity Replicate (however, not sure about the licensing costs)
Can someone please help with approaching this business problem?
Regards,
JE
You said, you have read permissions on the source database/tables(Oracle and SQL Server). I suppose that you just have the read-only permission.
Then the answer is no, we can not copy the data or migrate the database(Oracle and SQL Server) to Azure SQL database without the CONTROL SERVER permission.
Data sync can help you sync the data from SQL server to Azure SQL database, but you need have permission to Azure SQL too. Create the table with same schema and so.
If you don't the permission on SQL server, the Transactional replication also doesn't work.
For Attunity Replicate, I don't know much it, sorry that I can't answer you.
For your questions:
1.Replicate data from Oracle Source System to Azure SQL Database
Please reference this Azure Database Migration Guide: Migrate Oracle to Azure SQL Database.
This scenario describes how to migrate an Oracle instance to Azure SQL Database.
2.Replicate data from SQL Server 201x to Azure SQL Database.
Reference: Azure Database Migration Guide:Migrate SQL Server to Azure SQL Database.
This scenario describes how to migrate a SQL Server instance to Azure SQL Database.
We also could use bellow way to migrate the database with SSMS:
Create a dacpac file and import to Azure SQL.
SSMS Deploy database to Microsof Azure SQL database.
For details, please see: Learn how to Migrate a SQL Server database to SQL Azure server.
Hope this helps.

How to copy table from SQL Linked Server to SQL Server and maintain key constraints?

I have an SQL Server installed on a local Windows 10 machine - I'm using Microsoft SQL Server Management Studio to interact with it.
I also have a DB2 database hosted on an IBM i machine and I've created a Linked Server in SQL Server Management Studio to represent it. I can connect to the Linked Server and can query/pull data from it successfully.
I'm trying to copy particular tables from the Linked Server and insert them into a Database/Schema in the SQL Server - I can do this successfully but unfortunately, it appears that in the process of copying the table over, none of the constraints (particularly in my case, the key constraints) are maintained.
Is there a simple way to copy over tables from a Linked Server to SQL Server (in SQL Server Management Studio) while maintaining key constraints?
The following query is an example of what I'm using to copy the tables over (one-by-one):
SELECT *
INTO SQLSCHEMA.SQLTABLE
FROM LINKSERVER.LINKDATABASE.LINKSCHEMA.LINKTABLE
The easiest way is to use proper tool for it like SSMA:
Microsoft SQL Server Migration Assistant (SSMA) is a tool designed to automate database migration to SQL Server from Microsoft Access, DB2, MySQL, Oracle, and SAP ASE.
Migrating DB2 Databases to SQL Server (DB2ToSQL)
SQL Server Migration Assistant (SSMA) for DB2 is a comprehensive environment that helps you quickly migrate DB2 databases to SQL Server or Azure SQL DB. By using SSMA for DB2, you can review database objects and data, assess databases for migration, migrate database objects to SQL Server or Azure SQL DB, and then migrate data to SQL Server or Azure SQL DB. Note that you cannot migrate SYS and SYSTEM DB2 schemas.

How to migrate data from SQL Server to Oracle database 10G?

I have a problem: I have a SQL Server database, and another in Oracle; these databases have the same structure, DDL, same table, same indexes and so on.
The tables in the Oracle database are empty and I need to migrate just the data stored in SQL Server to the Oracle database.
Is there a tool in SQL Server or in Oracle that will help me do that? Or a someway to do it ?
Can you please help me?
Have a tool in SQL Developer called "Migrate to Oracle" where by it To migrate data from SQL Server to Oracle

How can I move data from SQL Server to Oracle?

I have created my database and tables in a SQL Server Express database. And now I migrated the database tables to Oracle with Entity Framework. But my tables are empty in Oracle. How can I move my data to Oracle?
Use SSIS interface from MS-SQL (Sql Server Integration Service).
I have used to move content from MSSQL to MySQL you should use the correct odbc driver.
For express edition, You can use Linked Servers to establish connection between SQL Server and Oracle. In this way, you should insert the records by creating queries for per table.
https://learn.microsoft.com/en-us/sql/relational-databases/linked-servers/linked-servers-database-engine

copying oracle to sqlserver 2005 jdbc

Is there any way of copying a database from oracle to sqlserver 2005? Thanks
You can migrate from Oracle to SQL Server with Microsoft's SQL Server Migration Assistant. It is available both to SQL Server 2005 and 2008.
If you have lots of (complicated) stored procedures and such, the migration might get a bit tedious. I have only experience with databases with simple procedures and could just rewrite them and do the data copy to empty tables in SQL Server with the import functionality using Oracle connector (usable from SQL Server if you have installed Oracle client tools to the SQL Server machine). This way I didn't even need to use the Migration Assistant tool.

Resources