Forum Replies Created

Viewing 15 posts - 5,896 through 5,910 (of 7,636 total)

  • RE: Large Transaction - GO Statement Inside?

    Heh, you too.

  • RE: Large Transaction - GO Statement Inside?

    GO is just a command to the Client SQL program (Query Analyzer, SSMS, etc.) to terminate the current batch and execute it. Go does not terminate the current session...

  • RE: Large Transaction - GO Statement Inside?

    Try it for your self:

    create table foo(bar int)

    GO

    select * from foo

    Begin transaction

    Insert into foo select 99

    Select * from foo

    GO

    Select * from foo

    Rollback transaction

    Select * from foo

    GO

    Select * from foo

    GO

    Drop table...

  • RE: missing index DMVs

    Hmm, this is very interesting, can you post the query that is CPU bound?

  • RE: Generate random number

    Peso (8/14/2008)


    But here is a way to get 10,000 unique nonrepeating random numbers between 0000 and 9999

    Yes, that is not hard at all. But it is not what the...

  • RE: Wax off... wax on...

    GilaMonster (8/14/2008)


    Other possible suggestion is to remove that table from the publication entirely. Put it back in after you've finished the deletes. That means that log records for that table...

  • RE: Wax off... wax on...

    The problem is that in a Replicated environment, it takes both Backup and the LogReader to release a replicatable record from the LDF. Well, if you're in Simple mode,...

  • RE: Wax off... wax on...

    Jeff Moden (8/14/2008)


    I'm also pretty much limited on disk space... can't make the MDF or the LDF much larger... copy of the 36M row table would probably stuff the system.

    I...

  • RE: Wax off... wax on...

    Actually, stopping & disabling the LogReader Agent will also stop and disable the Job. (in fact it may be the same thing).

  • RE: Wax off... wax on...

    I ask the above question, because I have had that happen to me: Doing a massive insert/update/delete, and the LogReader starts trying to scrape the log while the transaction...

  • RE: Wax off... wax on...

    OK, there are several places that you can do this from, but the best place is: "Replication Monitor/Agents/Log Reader Agent" which will all of the LogReaders and only the LogReaders....

  • RE: Wax off... wax on...

    Now, now, be nice to the OP, Gail. 😀

  • RE: Wax off... wax on...

    If it is Transactional Replication, then you (Stop & Disable) the LogReader job (from the Replication Interface, not the SQL Agent). This is the job that scrapes the Log...

  • RE: Generate random number

    Good point. I'll remember to reference my base arithmetic system in the future :).

  • RE: Bulk Insert Huge CSV

    Use the MAXERRORS option. Or else a Format file.

Viewing 15 posts - 5,896 through 5,910 (of 7,636 total)