Forum Replies Created

Viewing 15 posts - 19,726 through 19,740 (of 49,552 total)

  • RE: Help on deadlock issue in SQL Server 2005

    The trigger and procedure code please?

    Does the java app use implicit transactions (will likely be a setting on the driver somewhere)?

    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 has encountered XXXX occurrence(s) of I/O requests taking longer than 15 seconds to complete on file

    Optimise the queries or upgrade the IO subsystem. I recommend the former.

    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: Help on deadlock issue in SQL Server 2005

    Can you please post the definition of the ScoreNote and Score tables along with all indexes that they have. Also the definitions of the following procedures and triggers: ut_Score_Update_ScoreHistory, usp_DeleteOlderGradeBookRecords_TenWeeks

    Is...

    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?

    L' Eomot Inversé (3/15/2012)


    herladygeekedness (3/15/2012)


    I have also lost jobs on terminology as I am also self-taught. I'm more a data analyst/programmer than DBA but around SQL since 6.5 and...

    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 has encountered XXXX occurrence(s) of I/O requests taking longer than 15 seconds to complete on file

    Slow IO subsystem generally. A slow IO is when SQL sends an IO request to the operating system and 15 seconds later the IO has not completed. The messages are...

    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: DTS in Server 2005 - What is comparable in Server 2008 R2

    Not offhand. Start with the SQL books online (product documentation)

    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: DTS in Server 2005 - What is comparable in Server 2008 R2

    Either. Saving them in SQL Server's a little easier.

    SSIS isn't something you master in 10 minutes. Take some time, read the sections in Books Online.

    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: DTS in Server 2005 - What is comparable in Server 2008 R2

    DTS was a SQL 2000 and earlier feature, it was deprecated in SQL 2005. The replacement from SQL 2005 onwards is SSIS (SQL Server Integration Services)

    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: 32 bit applications onto 64 bit environment

    Most 32 bit apps will run fine on a 64-bit OS, if the apps are somewhere else and just connecting to the SQL server then there's no work at all...

    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: Add constraint

    Koen Verbeeck (3/15/2012)


    GilaMonster (3/15/2012)


    Koen Verbeeck (3/15/2012)


    Usually I use the terms interchangeably, because there's no actual difference between the unique constraint and the unique index since SQL Server 2005. (correct me...

    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: Add constraint

    Koen Verbeeck (3/15/2012)


    Usually I use the terms interchangeably, because there's no actual difference between the unique constraint and the unique index since SQL Server 2005. (correct me if I'm mistaken)

    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: Add constraint

    Koen Verbeeck (3/15/2012)


    However, the syntax for creating a UNIQUE constraint is as follows:

    That's the syntax for creating a unique index, not a unique constraint.

    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: Add constraint

    No, not at all.

    Koen showed you how to create a unique index on multiple columns. You can do a unique constraint the same way, just specify all the columns...

    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 Statistics on a sequential DATE table

    This: http://sqlinthewild.co.za/index.php/2008/02/25/parameter-sniffing-pt-2/

    The use of variables is not all that common. More common would be parameters, which behave similarly to constants when it comes to row estimations

    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: Index Fragmentation

    derekr 43208 (3/15/2012)


    Maybe I should have worded my question like this:

    >>SQL is looking for value 'X'

    >>According to the non-leaf index pages, 'X' on leaf page #10

    >>SQL goes to find leaf...

    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 - 19,726 through 19,740 (of 49,552 total)