Yes you can, but it offers very bad performance. Its simply not scalable.
"Satwinder" <Satwinder@discussions.microsoft.com> wrote in message
news:C36A33CE-35E5-469F-99FE-F6F51782CAD8@microsoft.com...
> Can i alter the custom Stored procs (sp_MSins_/sp_MSupd_,sp_MSdel) and
> achive
> this.
>
> Satwinder
> "Hilary Cotter" wrote:
>
>> What you have to do is
>>
>> 1) create the schema on the other side with the NFR attribute for the
>> identity property.
>> 2) put the data in place
>> 3) on the publisher have a seed of 1, and an increment of 2.
>> 4) on the subscriber have a seed of 2 and an increment of 2.
>> 5) issue a dbcc checkident(tablename) on the publisher to get the latest
>> assigned value. If its even, make it the next higher odd value.
>> 6) issue a dbcc checkident(tablename) on the subscriber to get the latest
>> assigned value. If its odd, make it the next higher even value.
>> 7) do a no sync subscription.
>>
>> Using queued replication will introduce triggers and a guid column which
>> may
>> or may not work for you. Queued is also designed for situations where the
>> majority of the DML originates on the publisher, and it is not scalable
>> beyond 10 subscribers.
>>
>> --
>> Hilary Cotter
>> Director of Text Mining and Database Strategy
>> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
>>
>> This posting is my own and doesn't necessarily represent RelevantNoise's
>> positions, strategies or opinions.
>>
>> Looking for a SQL Server replication book?
>>
http://www.nwsu.com/0974973602.html >>
>> Looking for a FAQ on Indexing Services/SQL FTS
>>
http://www.indexserverfaq.com >>
>>
>>
>> "Satwinder" <Satwinder@discussions.microsoft.com> wrote in message
>> news:BD42C0FB-54E7-47C4-973B-8819D64D7CA9@microsoft.com...
>> >I have a column in table A with identity value. When i enable
>> >Transaction
>> > replication on this table and sync the subscriber, it created the
>> > column
>> > with
>> > int datatype Table A on subscriber.
>> >
>> > I want the Subscriber to retain the identity column so that in case of
>> > Publisher failure application can use subscriber.
>> >
>> > How to achive this.
>> >
>> > Satwinder
>>
>>
>>