Forum Replies Created

Viewing 15 posts - 20,551 through 20,565 (of 22,202 total)

  • RE: server slows after a couple hours

    You know if you're getting different plans and different performance, you might have instances where one piece of data generates a plan that it can use and a seperate set...

  • RE: CONVERT IMPLICIT on a datetime causing index scan instead of seek

    I think I'm losing track of the thread. Where are you with this? Have you tried changing the indexes in any of the ways that have been proposed? Have any...

  • RE: SQL Database Performance Best Practices

    This is great! What a lot of fun, and really good information. I do like the DBA in traditional DBA garb doing the performance dance.

  • RE: Slow running Query

    Agreed on using JOIN statements instead of IN statements.

    Do you really need the DISTINCT? That's usually added when the data is bad, the structure is bad, or the where clauses...

  • RE: querying a string

    Unless they're they're the only things in the field, then you could get away with:

    SELECT...

    FROM...

    WHERE MyField = 'Project Managers Book'

    OR MyField = 'The Project Book'

    ...

  • RE: Get rid of Dynamic SQL

    There was a time when I was recommending using this code to eliminate dynamic SQL and still have a multi-valued search query:

    SELECT....

    FROM....

    WHERE...

    AND CASE WHEN @LocationTypeId...

  • RE: Seeing Double

    For literally the same index, COLA, COLB and COLA, COLB, no, I can't support that. I'd even say that's unsupportable if the first one was clustered and the second one...

  • RE: server slows after a couple hours

    Have you looked at the execution plans for the those specific queries? Scans, hash joins, cursors, anything like that in evidence?

  • RE: What kind of DBA are you?

    We might just fit right in...

    and

  • RE: Table Level Access

    {click-whoosh}{click-whossh} I am the master now, Andy {click-whoosh}

    Anyway, I finished running the simple tests. Here's a question given the following table & query, what might happen?

    CREATE TABLE [dbo].[users](

    [LogonID] [nvarchar](20) NOT...

  • RE: Table Level Access

    Funny you should say that. I'm stepping through writing up samples in C# using nHibernate as I type this (well, right after I type this and right before). So far,...

  • RE: sql server 2008 and 2005

    Yep. You're in trouble now. I still haven't been able to get it fixed. A friend ripped out everything, including all references in the registry, and reinstalled 2005. He's running...

  • RE: CONVERT IMPLICIT on a datetime causing index scan instead of seek

    Oh, then it's not a covering index. Try adding the date column. It will be then.

  • RE: Table Level Access

    I'm not sure if means anything in relation to LINQ and the other ORM products, but I've seen systems where the developers used ADO to automagically access the database. Small...

  • RE: server slows after a couple hours

    That's a pretty common PSS tactic. Until you're running the set of patches that they want to test against, they generally won't support you. Oh well, I've exhausted my feeble...

Viewing 15 posts - 20,551 through 20,565 (of 22,202 total)