Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Oracle to SQL Replication Data Type Issue, can someone help?

$
0
0

We encountered the following error when we tried to add a new table to replication 'Invalid date format...Error executing a batch of commands.  Retrying individual commands'.  After looking at the update statement replication was trying to execute, we noticed that a value for one of the date columns was '00-00-0000'.  On the Oracle table the value as 1/1/0001 so I'm assuming SQL cast it to '00-00-0000'.  We tried changing the data type in the subscriber table to nvarchar(19) and datetime2(7) as well as the update stored procedure but it did not work.  Any help will be appreciated.  Thanks.

Tae


tae yang


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>