Forum Replies Created

Viewing 15 posts - 40,651 through 40,665 (of 49,571 total)

  • RE: Clean shutdown

    noeld (3/3/2009)


    That is why I don't really think "Clean Shutdown" is something you can choose.

    It's not. SQL will always try to cleanly shut down all of its databases before...

  • RE: Error: Could not open FCB for invalid file...

    dmoldovan (3/3/2009)


    As GilaMonster said, you should NEVER use DBCC REBUILD_LOG.

    Actually I said it should never be the first thing tried.

  • RE: Select distinct on multiple columns

    sqlcentral (3/3/2009)


    That will only ever allow me to return 1 row, correct?

    No. There's a group by in the subquery, so that query will return 1 row for...

  • RE: Select distinct on multiple columns

    sqlcentral (3/3/2009)


    Yeah, there was no forum for Sql server 2000.

    Yes there is. The 2000 forums are below the 2005 forums on the forum home page.

    T-SQL (2000)

  • RE: row level compression restrictions

    winston Smith (3/3/2009)


    in a book im reading, it states that if the row in your table exceeds 8060 bytes in size, row compression cannot be used, as it has to...

  • RE: Select distinct on multiple columns

    sqlcentral (3/3/2009)


    Please tell me that is Sql Server 2000 compliant 🙂 (my test machine is Sql 2005 Express)

    Nope. 2005 and higher only. You did post in a 2005 forum.

    Doing it...

  • RE: Clean shutdown

    winston Smith (3/3/2009)


    so what happens in the case of a power outage? is sql server able to recover without intervention, as long as the storage media is ok?

    Yes

    there will...

  • RE: database crash

    prvreddy2000 (3/3/2009)


    Recently i faced a question "how do we know database damage/crash happened in sql server?"

    Depends what you mean by 'database crash'

    If you mean corruption, use CheckDB

  • RE: Resolving Deadlocking problems

    Dean Jones (3/3/2009)


    Thanks for the posts guys, from the sql log details below

    That's the results from 1204. Any chance you could use traceflag 1222 instead, as it produces a lot...

  • RE: Suspect\emergency- could not open FCB for invalid file id 0 ....

    pedro.ribeiro (3/3/2009)


    I'm think i'm going to buy a licence of "Stellar Phoenix SQL Recovery" to see if this program can recover the data file that i have.

    Do you think that...

  • RE: Errorlog

    WHERE logdate >= dateadd(dd, datediff(dd,0, getdate()),0) AND logdate < dateadd(dd, datediff(dd,0, getdate())+1,0)

    will get you today's records. Play with that and you should be able to get x days past easily

  • RE: How to pass sql statment to stored procedure?

    ammarghanem921 (3/3/2009)


    is it possible or not, and how to do it!

    It is possible and if you read the article I linked a couple days back you'd see how to do...

  • RE: Clean shutdown

    Not necessarily. Shutting down the machine will shut down the SQL service just as if you went and said 'stop service'

    The only exception is if you have long running transactions...

  • RE: help me

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic667195-8-1.aspx

  • RE: tell me?

    Protect by not giving people rights to do things they shouldn't be doing (same as in 2005)

    Monitor using a server-side trace.

Viewing 15 posts - 40,651 through 40,665 (of 49,571 total)