great, thanks.
with SQLCMD.
"Hilary Cotter" <hilary.cotter@gmail.com> wrote in message
news:uhCsd0icHHA.3960@TK2MSFTNGP04.phx.gbl...
> No, it doesn't for user stored procedures. I take it you are aware you can
> distribution a change to all unc deployed subscribers via
> sp_addscriptexec?
>
> --
> Hilary Cotter
>
> 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 >
>
>
> "Rafael Lenartowicz" <rafaell@rcl-consulting.com> wrote in message
> news:ucomHnicHHA.3960@TK2MSFTNGP04.phx.gbl...
>> these were user stored procedures inside of the replicated database.
>> I replaced statement "SELECT @HEADER_ID = @@IDENTITY"
>> with "SELECT @HEADER_ID = SCOPE_IDENTITY( )" .
>> Now the subscribers have the same stored procedures as the publisher,
>> but I wonder if sneaky SQL Server has some kind of checksum or something,
>> that might give me trouble in subsequent synchronizations...
>> thanks
>> rafael
>>
>>
>> "Hilary Cotter" <hilary.cotter@gmail.com> wrote in message
>> news:uPddJMicHHA.3484@TK2MSFTNGP04.phx.gbl...
>>> Which stored procedures did you modify and what changes did you make to
>>> them?
>>>
>>> --
>>> Hilary Cotter
>>>
>>> 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 >>>
>>>
>>>
>>> "Rafael Lenartowicz" <rafaell@rcl-consulting.com> wrote in message
>>> news:OGgI9AicHHA.648@TK2MSFTNGP04.phx.gbl...
>>>> after update from 2000SP4 to 2005SP2 I noticed two stored procedures
>>>> having issue due to changed functionality of the @@IDENTITY vs.
>>>> SCOPE_INDETITY(). I changed them on the publisher/distributor and
>>>> regenrated the snapshot before marking subscriptions for
>>>> reinitialization. Next sync supposed to apply these changes to the
>>>> subscribers, right ? I had the publication comp level set to 90RTM, ddl
>>>> changes enabled, etc. - nothing worked unless publication was dropped
>>>> and recreated. With high number of subscribers and rather active
>>>> publisher I didn't want to reconfigure my replication setup...
>>>> and after digging around I found the way to change these 2 sp's
>>>> directly on the subscribers:
>>>>
>>>> disable TRIGGER [MSmerge_tr_alterschemaonly] ON DATABASE
>>>> go
>>>>
>>>> ALTER PROCEDURE ....
>>>> go
>>>>
>>>> enable TRIGGER [MSmerge_tr_alterschemaonly] ON DATABASE
>>>> go
>>>>
>>>>
>>>> Does anyone see a potential future problem with this "solution" ?
>>>> tia,
>>>> rafael
>>>>
>>>
>>>
>>
>>
>
>