Forum Replies Created

Viewing 15 posts - 42,181 through 42,195 (of 49,562 total)

  • RE: trancate

    Michael Earl (12/22/2008)


    Don't bite my head off Gail,

    Not biting anything

    just wanted to make the point that it is logged "differently" without typing out a lot of detail.

    Sorry, it's just...

  • RE: Error in starting sql server in single user mode

    Perry Whittle (12/22/2008)


    Ahmad Osama (12/22/2008)sqlcmd -S BUILDSERVER -E

    is BUILDSERVER the correct instance name?

    It's the servername of the server that he's starting in single user mode. Check the attached error log...

  • RE: Error in starting sql server in single user mode

    Ok. Confirm the following for me.

    1) You have stopped the service.

    2) You have one command window open where you ran sqlservr -m and then left it running

    3) You are running...

  • RE: trancate

    Michael Earl (12/22/2008)


    TRUNCATE is a non-logged operation, so if you are using log shipping or have regular log backups running, it can cause you some issues.

    Not at all.

    Truncate table...

  • RE: Database DDL Trigger Security-Catch 22

    HKwai (12/17/2008)


    Does anyone know of a solution to this?

    EXECUTE AS

  • RE: Duel Insert?

    Peso (12/22/2008)


    Doesn't

    IF UPDATE(colStatus)

    do that for you?

    That just checks if the column was referenced in the update statement. If the column is updated to itself, UPDATED will be true...

  • RE: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    Advanced thaks for all.I didn't expect this much reply from my post. It's really helpful for me to know more about the problem.

    If you answered all the questions we've...

  • RE: Error in starting sql server in single user mode

    Perry Whittle (12/22/2008)


    are you sure

    NET STOP MSSQLSERVER

    is stopping the correct instance?

    It's the same instance that he's starting and the same one he's connecting to via sqlcmd. Whether it's...

  • RE: Need help diagnosing a problem

    Paul (12/22/2008)


    From what I've read, there's an overhead associated with checking for locks that you incur even if there aren't any.

    Adding NOLOCKS is supposed to skip that.

    Very small overhead.

  • RE: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    Sorry. I am waiting for my PL approval.

    ?

    Could you please confirm is searching based on the non-clustered index cause the performance problem.

    No. Not enough information.

  • RE: Need help diagnosing a problem

    Paul (12/22/2008)


    I meant that the data is updated so infrequently that I dont think the costs of record locking outweigh the performance gain from ignoring it.

    Thing is, if using nolock...

  • RE: Duel Insert?

    What's the question?

  • RE: Duel Insert?

    Ok. Is there a question somewhere in that?

    If you want assistance in writing the trigger, you're going to have to give a lot more details on what you want to...

  • RE: Transaction Log Size

    ps (12/22/2008)


    try reducing the frequency of tran log backups. this will flush out inactive transaction more frequently from the log file.

    Other way around. Reducing the frequency of the log backups...

  • RE: Transaction Log Size

    What recovery model and how often are you doing transaction log backups?

    What do you mean by "unable to open it"?

    Take a read through this - http://www.sqlservercentral.com/articles/64582/

Viewing 15 posts - 42,181 through 42,195 (of 49,562 total)