Forum Replies Created

Viewing 15 posts - 17,821 through 17,835 (of 22,214 total)

  • RE: IO Statistics

    Yeah, I've read those. I was never completely dependent on IO, but it sure made me second guess even how much I used it.

    But Gail was write to call me...

  • RE: READ vs WRITE

    I've never tried achieving that kind of measure before. But, I will say that you shouldn't be surprised if there are lots of reads even on a system that you...

  • RE: FORCESEEK in SQL 2005

    I think he's referring to the statistics being out of date or insufficiently sampled. Just because you have auto-stats turned on doesn't mean that all the statistics are getting updated...

  • RE: IO Statistics

    GilaMonster (4/2/2009)


    Grant Fritchey (3/27/2009)


    1. The first query, by a long shot. Although it has a higher number of physical reads. But if both these queries are accessing the same data...

  • RE: Simple Mode on selected tables

    Yeah, Barry's right, table variables aren't logged, but what is it that you're doing that's causing so much logging?

  • RE: Order By Clause Different in SQL2000 vs. SQL2005

    I think Gail has it right. They "fixed" the incorrect behavior from 2000. That leads to problems like what you encountered.

  • RE: Select count(*) from....

    I don't see it on her blog[/url]. It was in a presentation she gave at the PASS Summit last November.

  • RE: FORCESEEK in SQL 2005

    plavec (4/1/2009)


    Tx for your help. We changed model and solved problem.

    But still I'd like to know if somebody knows how to makes compensation for FORCESEEK in 2005 or 2000.

    Nice to...

  • RE: What is "default schema name"?

    Maybe I'm wrong. Wouldn't be the first time (today). Hang on, testing... might be a while.

  • RE: What is "default schema name"?

    Regardless of default schema, if you don't reference the schema in the query, SQL Server will try to find the query in dbo. I don't think it's a bug. It's...

  • RE: What is "default schema name"?

    It doesn't look like it from the code you showed, but are you using qualified names in the queries?

    SELECT *

    FROM schema.table

    --not

    SELECT *

    FROM table

    That would absolutely explain the problem.

  • RE: Order By Clause Different in SQL2000 vs. SQL2005

    According to the Upgrade Advisor column aliases in the ORDER BY clause cannot be prefixed by the table alias.

    Why not try dropping the alias and then using the column name...

  • RE: Select count(*) from....

    Generally, I use the COUNT(*). It's pretty much guaranteed to be accurate. Gail Shaw showed how it will pick an index with the least number of pages to satisfy the...

  • RE: nchar vs. char conversion performance

    If you're comparing two different data types, char & nchar, then you'll get an implicit convert in the engine which will prevent the use of indexes. So yes, there is...

  • RE: Difference between Stored Procs and System Stored Procs

    It's not considered to be a good practice to place procedures in the system databases (except for model). The caveats in the article are true, but they don't emphasize the...

Viewing 15 posts - 17,821 through 17,835 (of 22,214 total)