Get data from Oracle to SQL server after Oracle statements is excuted - sql

I'm making a project with SQL Server but I just can get data from Oracle database in my customer's PC. Because they want to manage data before i can do with it. I have used Linked Server of Microsoft and Microsoft SQL Server Migration Assistant for Oracle to get data from Oracle database. But I have a problem I dont know when my customer INSERT, DELETE, UPDATE Oracle records. Is there anyway to migrate data from Oracle automatically to my SQL Server?
Really need a help. I have to manual do it everytime I want to update SQL Server database to get new records from Oracle.
Thanks in advance!

Related

Adding a field to an Azure SQL Server table

I have a SQL Server database in Azure. I need to add a field to one of the tables. I have no idea how to proceed. I'm very familiar with SQL Server but not on Azure. Help!!!
You do it exactly the same way as in SQL Server.
ALTER TABLE ... ADD ...
or using Management Studio. If is recent enough, it can connect to Azure SQL DB.

How to capture truncate statement information in SQL Server 2012

I would like to capture the truncate statements information along with the user/Login information for all database in my production server.
Example:
Use mydb
go
truncate table deleteme_table
I would like to capture the information into the table like the below
Table Operation Database Login Time
deleteme_table Truncate mydb sandeep.pulikonda 17-12-2014 17:50:00
If the above scenario is not possible please suggest possible ways to capture it
I am using SQL Server 2012 Standard version. So granular level audit are not supported for that version.
you can use the SQL Server Audit functionality and add an audit for those queries.
this article explains in detail how to obtain this.
Another good way of profiling your SQL Server is using SQL Profiler. Here is a SO question similar to yours and an answer describing how to use SQL Profiler to achieve the results.
SQL Server Profiler - How to filter trace to only display TSQL containing a DELETE statement?

solution to deploy data in SQL from Oracle

our customer (university) have Oracle 10 database server all student data stored in this data base.
we installed ID badge software which using SQL database, i don't need to re enter all student data to the ID badge software i need to use the existing data in Oracle.
is there any solution to deploy data in SQL from Oracle ?
thanks
You can use Microsoft SQL Server Migration Assistant (SSMA)
http://msdn.microsoft.com/en-us/library/hh313198(v=sql.110).aspx

SQL Server Agent - to update SQL table from Oracle

this is a newbie questions...
is it possible to write a job that will update my sql (SQL Server 2008) table nightly - from an oracle db? i can't seem to find any tutorials online. please help.
i have already created a ODBC connection in the Data Source Administrator....
You could setup your Oracle database as a Linked Server and then create a SSIS package that performs the update. This SSIS package could run on a schedule (Job).

How can I post updates (commits) in oracle db to SQL Server 2005

We have an application (BaaN) on Oracle Database.
We also have an application that is on SQL Server 2005 which uses Oracle (BaaN) contents.
Currently we cache all contents of the Oracle DB to SQL Server nightly through linked server from SQL Server to Oracle.
Thought of using a trigger on Oracle db tables to write contents to Oracle table (DeltaCommits) as the commits occur, and then periodically look for entries in DeltaCommits from SQL Server using a scheduled job.
Or can you please suggest a better way to accomplish this ..
Thanks
It's possible to use replication to transfer data between Oracle and SQL server.
This guide looks like a useful starting point which may help you to decide whether this is a route you want to consider.