Forum Replies Created

Viewing 15 posts - 46,606 through 46,620 (of 49,571 total)

  • RE: nvarchar vs varchar

    Jeff Moden (5/13/2008)


    Heh... can't wait for the mess folks are gonna make in 2k8 with the separate DATE and TIME datatypes...

    Agreed. There are legit cases to store just one of...

  • RE: nvarchar vs varchar

    Jeff Moden (5/12/2008)


    A better question is why would anyone use a character based datatype to store a "Load time"?

    And why one would want to store a data and a time...

  • RE: SQL Plan caching question

    Probably because the objects are not fully qualified. (dbo.usp...)

    What's probably happening is that SQL's first looking for the object in the current user's default schema, not finding it, then looking...

  • RE: dynamic sql and indexes

    Providing there are indexes appropriate for the query, yes

  • RE: SQL 2005 EDITION

    Run

    SELECT @@version

    It will say what edition you're running.

    From what I recall, the editions are:

    Express (free)

    Workgroup

    Standard

    Enterprise

    Developer (enterprise features, not for usage in producion system)

  • RE: Indexing

    Can you post query, table schema and index definitions please. Can't say anything for sure without seeing those.

  • RE: A strange performance issue

    jeff.williams3188 (5/12/2008)


    Off the top of my head, I would suspect that you are seeing the checkpoint operation in action.

    Sounds very plausable.

    At the times that the disk queue length goes up,...

  • RE: null or not exists

    Paul Fechner (5/12/2008)


    How do i attach an sql exec plan for all you experts to review?

    As I said above

    (saved as a .sqlplan file, zipped and attached to the thread)

    If...

  • RE: Problems with Group BY Clause

    I'll take a look, but I'm going to need more than 1 row of data. Can you give me data for all the dest airports like 'b%' (the ones you...

  • RE: Get First row value

    Table doesn't have a single clustered index. But it have non clustered index on mid.

    Will it help to resolve this running total issue ?

    Only if the smallest MID was the...

  • RE: A strange performance issue

    Does anyone know of any such logging?

    Profiler. 🙂

    Profiler should be included in workgroup. It's just Express that doesn't have it.

    You could also log the sys.dm_exec_requests to a table. Run in...

  • RE: SQL 2005 SP Constraints Error

    You'll get an error if a constraint exists and you try to create another with the same name.

    Since they're on Temp Tables and the constraint is dropped when the...

  • RE: Clustered index (NoLock)

    Probably a different query plan was generated with the clustered index present that required less of the table to be locked.

  • RE: SQL 2005 SP Constraints Error

    Don't name constraints created on temp tables. Object names (including constraint names) must be unique.

    When you create a temp table, SQL puts a hash value on the end to...

  • RE: Putting all your data in one column of one table

    I've seen this a number of times, over on http://www.thedailywtf.com 😀

    Get out of that company while you still can. That design is one of the things that sounds nice in...

Viewing 15 posts - 46,606 through 46,620 (of 49,571 total)