Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 Replication to Oracle Issue

Author  Topic 

kioteh
Starting Member

16 Posts

Posted - 2009-06-24 : 17:04:48
I'm currently trying to replicate from SQL Sever to Oracle and its having an issue because one of the tables I'm replicating has column that is a reserved word in Oracle. Because its a reserved word, when SQL tries to execute an update command it errors because it's expecting "" around the column name. Any thoughts?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-06-24 : 18:29:16
If you are using stored procedures for your data access, you should be able to very easily rename the column to avoid this issue.



Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

kioteh
Starting Member

16 Posts

Posted - 2009-06-25 : 15:14:23
I'm not sure what you mean. I'm using SQL Server replication. The replication itself is failing.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-06-26 : 00:54:52
I'm referring to fixing the problem. Change the column name to avoid the replication issue.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

kioteh
Starting Member

16 Posts

Posted - 2009-06-26 : 15:02:43
It's a production machine with a mature application, that's not an option.

Although if I could find the DBA that named the column "date", I'd have firm words for him/her. ;)
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-06-26 : 20:46:22
But is the application using stored procedures, if it is then you can make the change without impacting stuff?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

topsportkid
Starting Member

2 Posts

Posted - 2009-07-22 : 13:48:29
hi,

What is the tool you use for replication to Oracle

Thanks

Topsportkid
Go to Top of Page

topsportkid
Starting Member

2 Posts

Posted - 2009-07-22 : 14:04:03
Hi,

In Oracle the column names is in upercase try "DATE" or [DATE].

Topsportkid
Go to Top of Page
   

- Advertisement -