Forum Replies Created

Viewing 15 posts - 26,071 through 26,085 (of 49,552 total)

  • RE: Trace Filter Troubles

    Profiler filters are a pain to work with. Profiler does the opposite with nulls that SQL does.

    Import into a table and query. Far, far easier.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to check if my database triggers and other objects are invoking tables that it's not exist

    sysobjects and syscomments are deprecated, are included only for backward compatibility, will be removed in a future version of SQL and should not be used any longer.

    Use sys.objects and sys.sql_modules...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Is this query right for finding fragmented indexes?

    sqlbuddy123 (5/16/2011)


    It doesn't work if there is a 80 compatibility mode database. It gives an error for DB_ID() function. If you manually enter the Database ID in its place it...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    WayneS (5/16/2011)


    I know voting isn't over yet, but does anyone know if PASS has a date by which speakers will know if their submitted sessions have been selected for the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Grant Fritchey (5/16/2011)


    I needed a bath after the blatant begging and horrific spam I did to try to get votes for SQL Rally pre-con. I'd hate to have to do...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Hpw to Delete database from catalog

    From a query, not the GUI

    DROP DATABASE <dbname>

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database Suspect mode@ rajesh

    What you did there is the absolute last resort for suspect databases, not the first thing you should do. You may well have messed things up worse.

    SQL error log. There...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database Kill

    Restart SQL. No need to do anything else, the transaction will finish rolling back during crash recovery (it's just kinda stuck, probably waiting for something it will never get), DB...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Server 2008 R2 Max Memory Settings

    Max memory set the limit to the buffer pool. SQL does also allocate memory outside the buffer pool - the non-paged memory - for things like thread stacks, backup buffers,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database has gone in suspend mode how to recover...?

    Jason Shadonix (5/16/2011)


    jmerrill 28016 (5/16/2011)


    Other than the fact that it was an advertisement for a commercial product, what was particularly incorrect on the page you referenced?

    Advertising aside, isn't it pretty...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database has gone in suspend mode how to recover...?

    jmerrill 28016 (5/16/2011)


    Other than the fact that it was an advertisement for a commercial product, what was particularly incorrect on the page you referenced?

    At this point I have neither the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Restoring MSSQL database

    There's barely a snowball's chance in hell you'll be able to get data back by reverse-engineering the front end. Column names, maybe (depends how the app queried the DB). Column...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: XACT_STATE = 1 in a transaction error?

    Kinda, but not a warning. Statement-terminating error (as opposed to batch-terminating or connection-terminating)

    What you're seeing there is pretty much what the default behaviour without a try-catch is. Don't roll transactions...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Restoring MSSQL database

    Good luck with that. Reverse-engineering a DB is an incredibly hard thing to do. You may be able to get the table names from the front end, unlikely to get...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: XACT_STATE = 1 in a transaction error?

    Unless XactAbort is on, pretty much any non-fatal error will do that (pk violation, data type conversion, constraint violations, etc)

    Interestingly enough, I have a blog post on this being published...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 26,071 through 26,085 (of 49,552 total)