Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Using oracle subscriber ---Questions Expand / Collapse
Author
Message
Posted Wednesday, October 27, 2010 2:32 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 7, 2011 12:37 AM
Points: 7, Visits: 98
Oracle treats both empty strings and NULL values as NULL. This is important if you define a SQL Server column as NOT NULL, and are replicating the column to an Oracle Subscriber. To avoid failures when applying changes to the Oracle Subscriber, you must do one of the following:

o Ensure that empty strings are not inserted into the published table as column values.
o Modify the generated create table script, removing the NOT NULL attribute from any character columns that may have associated empty strings, and supply the modified script as a custom create script for the article using the @creation_script parameter of sp_addarticle.


Which option is better from above two? I liked second option but want to know how ot run it or use it and when during replication process?


ALso Oracle Subscribers support a schema option of 0x4071. For more information about schema options, see sp_addarticle (Transact-SQL).

What does this mean? does this mean that Oracle subscriber will not understand the create table scripts generated by SSMS when creating subscription.
Ifi have to modify it to be able to run on oracle how do i do that?
Post #1011880
Posted Thursday, January 17, 2013 3:50 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, April 26, 2013 7:30 AM
Points: 1, Visits: 7
Did you find an answer to this problem?

Faced with the same issue, and having trouble getting the creation script to work.
Post #1408298
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse