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.
Author |
Topic |
gg0183
Starting Member
1 Post |
Posted - 2010-10-27 : 16:35:54
|
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? |
|
|
|
|