Forum Replies Created

Viewing 15 posts - 9,931 through 9,945 (of 49,571 total)

  • RE: auditing

    GilaMonster (2/24/2014)


    Does the user executing that have permissions to create explicit tables in TempDB? Why permanent tables and not temp tables?

  • RE: auditing

    Ok, and what statement is failing where?

    Does the user executing that have permissions to create explicit tables in TempDB? Why permanent tables and not temp tables?

  • RE: auditing

    Without seeing the script, no idea.

    What report are you asking about the script for?

  • RE: dense_rank

    JohnNash (2/12/2014)


    just wanted to check going forward (if data increases) will be a performance problem.

    Honestly, there's no way to answer that question. Depends on too many factors.

    Write the code, test...

  • RE: Dynamic Sql - Must declare the scalar variable

    Jim Arko (2/23/2014)


    When using dynamic T-SQL you need to concatenate the variables.

    SET @sqlstring = 'UPDATE table SET column = ' + @variable

    Sure, if you want a nice little SQL Injection...

  • RE: Need help questions and answers

    So why don't you post your thoughts and we can comment on them? As it is, it looks like homework and rather vague to boot.

  • RE: Restore .ndf file

    Define 'not working'?

    If you have a full database backup, there's nothing special that needs doing, at most all the files need the WITH MOVE clause, but nothing different between mdf...

  • RE: Corrupted Database

    ALTER DATABASE (db_name) SET SINGLE_USER WITH ROLLBACK IMMEDIATE;

    Otherwise it waits for existing connections to disconnect and it's willing to wait forever.

    And unless the DB was suspect, you don't need or...

  • RE: LCK_M_IX on tempdb?

    Ditch DTA. If you read the articles, I show how to identify the worst performance problems of what's in the trace, how to dig into the procedures and what you...

  • RE: LCK_M_IX on tempdb?

    Dird (2/21/2014)


    Edit: I found out why it stops, DTA uses C: to store it's workings...is there any way to make DTA's temp folder be on a different drive?

    Please don't tell...

  • RE: Are the posted questions getting worse?

    ChrisM@Work (2/21/2014)


    GilaMonster (2/20/2014)


    PSA: Yes, my blogs (and email, etc) is down, I have noticed (no email for almost a week is a good hint). Yes, it is being looked into....

  • RE: Corrupted Database

    Post the exact output of your attempt to repair

  • RE: Corrupted Database

    Errr.... a copy-paste of an entire thread? Is there a problem/question here?

  • RE: Hi any one help me

    Step 1, parameterise that query

    Step 2, read up on the .NET parameters collection and use it.

    Step 3, read up on all the horrors of SQL injection attacks that you've now...

  • RE: checkdb error on index ID 0

    Please post new questions in a new thread. Thank you.

Viewing 15 posts - 9,931 through 9,945 (of 49,571 total)