Forum Replies Created

Viewing 15 posts - 17,581 through 17,595 (of 49,552 total)

  • RE: Query Help

    If I recall, the article also says to post index and table definitions.

    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: Query Help

    Unless you're using SQL 2000, please post the xml plan.

    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: Old SQL Syntax ?

    All. No, it's not being phased out.

    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: Old SQL Syntax ?

    The ! means NOT, so != means not equals. Similarly you can have !> (not greater than) and !< (not less than).

    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: What is the best way to encrypt SSNs and FEIN Numbers (Employer Tax ID Number) in SQL Server 2008?

    Expert SQL Server 2005 Development. Not the 2008 one, the 2005 one.

    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: which is best method for upgrade database 650GB?

    Also note that EXEC dbo.sp_dbcmptlevel is deprecated. ALTER DATABASE ... SET COMPATIBILITY_LEVEL

    I'd add updating the non-index statistics to that, currently it only updates the stats on the indexes that...

    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: Update statistics

    Those tables are empty (no rows)

    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: Non Recompile Option while executing the Stored Proc.

    sys.dm_exec_cached_plans and related DMVs

    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: Non Recompile Option while executing the Stored Proc.

    There's no such option because that is the default behaviour. When executing a proc it will reuse the cached plan if one is available. The only times a procedure will...

    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?

    Steve Jones - SSC Editor (7/17/2012)


    Lynn Pettis (7/17/2012)


    Okay, Brad is Hannible, you are Murdock, and Steve is Face. Who is B A Barrackus?

    Gail? When she's got the three of...

    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: Server drop connection error

    Sure, answer my question.

    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: Update statistics

    @@trancount won't tell you anything other than if there's an open tran from that specifc session. It's of no use in this situation

    Check what the processes are waiting for (sys.dm_exec_requests,...

    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: Server drop connection error

    santhosh411 (7/17/2012)


    All databases are in multi user mode only and the drivers were running fine.

    This error has nothing to do with single-user databases. It's MARS-related (multiple-active-result-sets), the ability to have...

    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: checkdb issues sql 2008

    fahad_fastian (7/17/2012)


    Just to add on what others already said; you have an option to repair the specific page in RESTORE DATABASE COMMAND;

    That will not work. Page restores can't be done...

    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: Server drop connection error

    santhosh411 (7/17/2012)


    Please contact the client driver vendor. [Policy: MSSQL Logfile Template]

    Any suggestions

    I would start with what the error says. That's a misbehaving driver.

    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 - 17,581 through 17,595 (of 49,552 total)