Forum Replies Created

Viewing 15 posts - 16,951 through 16,965 (of 22,210 total)

  • RE: Unexpected index scan - what causes this?

    Assuming a reasonable distribution of data, I would have expected to see a seek on this...

    You're only accessing a few columns on the Pupil table, you might try using...

  • RE: Unexpected index scan - what causes this?

    GilaMonster (7/20/2009)


    I can't see anything that's forcing the scan. Makes no sense...

    Whew! That makes me feel better. I'm digging through this trying to spot something. I figured you were going...

  • RE: Unexpected index scan - what causes this?

    Thanks. I'm glad the book was useful. Post a review on Amazon!

    😀

    As to this, it does look like the statistics are up to date. I'm not sure what's happening precisely....

  • RE: Are the posted questions getting worse?

    There's only been a few posts this weekend. 4-6 at most.

  • RE: Unexpected index scan - what causes this?

    I can't see the .sqlplan file. Can you post it again?

    It sounds like you might be seeing parameter sniffing.

  • RE: Monitor Question

    Yes, the Profiler gui is great for browsing already captured data, but it is a dangerous place to try to capture original data. Here's an explanation of why[/url].

  • RE: how to show the latest data

    MAX works well in that situation, but depending on your indexes, TOP 1 with an ORDER BY can work consistently better. You might try that too.

  • RE: Loooking Corporate Training For Sql 2008

    Another option as opposed to traveling to your training is to bring a trainer to you. My company has worked for several years with Solid Quality Mentors. They have some...

  • RE: Server Database Backup

    And, if you're backing up a production system, if that system is using differential backups, you should backup using the COPY ONLY option so that you're not interferring with the...

  • RE: Design for common columns

    erictyrrell (7/17/2009)


    Often times tables will contain common columns such as People and Events both have columns for location (latitude, longitude) or a photo (blob column). Is it best to leave...

  • RE: Are the posted questions getting worse?

    GilaMonster (7/20/2009)


    Dave Ballantyne (7/20/2009)


    Is it just me who internally screams , UNDERSTAND WHAT YOU ARE DOING.

    Nope, not at all.

    Some people want to be spoon-fed and not have to (horror) actually...

  • RE: Query performance for Ordering

    Did you try updating the statisitics with a FULL SCAN? They're pretty widely out of line. That's frequently an indication that they're out of date.

    You're getting a loop join on...

  • RE: How to Recover Database without Backup

    I've never heard of anyone recovering a dropped database.

    You usually can't recover from the OS because SQL Server database files are locked while SQL Server is running (and in most...

  • RE: missing indexes

    You can use the information from the missing indexes DMV as a starting point for tuning. You need to carefully assess the recommendations though because they're frequently weak. I've seen...

  • RE: TSQL Query Advice

    Sounds like you just want a JOIN. Read the article Gail suggested and post the code you've tried so far.

Viewing 15 posts - 16,951 through 16,965 (of 22,210 total)