Forum Replies Created

Viewing 15 posts - 3,946 through 3,960 (of 5,103 total)

  • RE: locking?

    I would move the delay statement after the COMMIT otherwise you will be holding the lock for too long!

    ...

    WHILE @x > 0

    BEGIN

     BEGIN TRAN

     

     delete from events

            where datediff(day, EVENT_DATE, getdate()) >...

  • RE: MSmerge_tombstone

    OK,

    To delete those rows just disable the triggers on that table (hopefully you have only the merge triggers in there  you should verify it! and...

  • RE: Replication Question

    What Hilary was implying is that you MUST setup a filter to solve the problem

    Cheers

    [Edit]: Oh and yes, SiteID seems like a good candidate for it

  • RE: MSmerge_tombstone

    well this is a new one for me because if you have PK constraint violated seems like a serious flaw in the engine (which I don't believe such thing can...

  • RE: retention-based meta data cleanup

    what happen when you stop and re-start your merge agent?

    are you sure you can see by name and by IP the subscriber from the publisher ?

     

  • RE: Transactional Replication fallback

    I'll go for merge in this case!

  • RE: Cleanup of Merge Metadata....again

    Barbara,

     

    I am sorry couldn't get back to you sooner.

    What you can do is to schedule a job with sp_mergemetadataretentioncleanup if you need to run it continuous mode.

     

     

  • RE: getting year from string

    Ah... didn't read well that the string was missing the day part!

     

  • RE: getting year from string

    I would:

    select

       year(cast(field as datetime))

     , month(cast(field as datetime))

     , day(cast(field as datetime))

    from <yourtable>

    hth

  • RE: to cursor or not to cursor

    I personally think a cursor is not necessary for this operation and the job can be performed entirely in the temp table. Once that's done is a matter of single insert...

  • RE: deleting records without writing to transaction log

    That's a nice try but:

    • Trucate will Log Page deallocation
    • Truncate Requires Elevated Priviledges
    • Truncate can't be executed if the table has foreign keys
    • Truncate will LOCK the users out so if you try...
  • RE: Showing list of changes made to subscriber or publisher

    For Transactional:

    Have a look  at sp_browsereplcmds

    For Merge thereis an script by Paul Ibison posted here

    HTH

  • RE: Cleanup of Merge Metadata....again

    Barbara,

    I believe that where you are  confused is on the sp. There are two sp.

    1) sp_mergecleanupmetadata

    2) sp_mergemetadataretentioncleanup

    The First should be used for topologies with SQL Server 2000 SP1 or less...

  • RE: I need to do a DTS for traspassing

    Ok, This "image Feature" does not works  (as I assumed )

    so lets try describing it:

    once you have stablished the data transformation task between...

  • RE: I need to do a DTS for traspassing

    do you see this

Viewing 15 posts - 3,946 through 3,960 (of 5,103 total)