Subject | Re: [IBO] Prepare to Replication |
---|---|
Author | Jason Wharton |
Post date | 2003-10-31T17:33:55Z |
> I want to create a tool what prepare databases to replication.You may want to look at the work I've done with my replication. It provides
>
> It is create triggers/procedures/tables/etc for replication.
>
> But I have a problem with primary key modification.
>
> The tables have an ID field, an unique ID -> the primary key.
>
> I want to chahge the constraint to containing the new field names
> REPL_SITE_ID.
>
> Every site have an SITE_ID, and if the generators are produced same
> value to ID, the SITE_ID avoid the collisions.
>
> In IBO help I see the definitions of IB_DDL classes, but I cannot see
> any examples for I see, how to write a code to replace the constraint.
a good model to follow and you could even help me improve mine as well.
Look in the IB_RPL_*.* files.
Jason Wharton