Forum Replies Created

Viewing 15 posts - 2,776 through 2,790 (of 4,745 total)

  • RE: Deleting data from large table

    TRACEY-320982 (3/21/2010)


    Right now I have the following

    There are approx 133095 rows per day.

    DELETE TOP(100000)

    FROM tablename WHERE

    startdate >= '2009-12-17' and

    startdate <= '2009-12-17'

    with these values you are still doing almost...

  • RE: Deleting data from large table

    Paul White NZ (3/21/2010)


    george sibbald (3/21/2010)


    ...its up to you which code you want to use in this instance, both do the same thing.

    Not quite the same, at least not exactly....

  • RE: Deleting data from large table

    Tracey, the code I gave you will commit every 10000 rows because thats the value set for rowcount. As your log is in simple mode it will automatically truncate that...

  • RE: Deleting data from large table

    do you mean using 10GB of tran log?

    do this as a crawler delete, something like this, so tran logs can be backed up

    Declare @num int

    Set @num = 1 ...

  • RE: how to set Master database to singleuser mode

    Then I would have thought you would prefer to still use SSMS when the server is in single user mode? Its got to be easier than sqlcmd especially if typing...

  • RE: how to set Master database to singleuser mode

    if you had not set the 'open new query window' as your startup mode option up front before restarting SQL in single user mode then yes object explorer would gave...

  • RE: how to set Master database to singleuser mode

    it sounds like you want to restore your master database for which you have to start the instance in single user mode, not set the database to single user. see...

  • RE: Answers to Your QOD

    CirquedeSQLeil (3/19/2010)


    Paul White NZ (3/19/2010)


    CirquedeSQLeil (3/19/2010)


    I actually disagree with the correct answer.

    Me too, but it's not terribly important. There could have been another option..."it depends".

    For the record, I ticked...

  • RE: SQL 2008 backward compatibility

    oops should have found that! thanks for the pointer, I have subscribed to the thread to keep an eye on it.

    I does sound like its possibly in the guys database...

  • RE: MCTS 70-431

    buy the MS SQL SERVER 2005 Implementation and Maintenance training Kit. That will get you 15% off the exam price.

  • RE: Answers to Your QOD

    I don't think I am giving away the farm if I say that if the answer boxes are square there is more than one correct answer, a radio button means...

  • RE: Answers to Your QOD

    when the answer to the question starts with the phrase 'As I see it............', what chance have we got! πŸ™‚

    Other than that I'm in agreement with what Jason said...

  • RE: Installing Service pack

    ensure no connections to the databases and backup systemdbs before you start, including resource database

  • RE: Are the posted questions getting worse?

    tosscrosby-60625 (3/18/2010)


    Alvin Ramard (3/18/2010)


    You wanna different language? Ok, mesa know one. πŸ™‚

    In reply to Quote: The problem with socialism is that you eventually run out of other people’s...

  • RE: Database restore commands

    Thanks for the 2 points!

    Only 54% correct so far, there's too many devs on this site! So its good they learnt something important πŸ˜€ πŸ˜‰

Viewing 15 posts - 2,776 through 2,790 (of 4,745 total)