Forum Replies Created

Viewing 15 posts - 19,366 through 19,380 (of 22,202 total)

  • RE: Some indexes not rebuilt

    Small tables, especially those that occupy less than one extent (that's 8 pages) generally won't defragment.

  • RE: SQL statement question

    If I understand the question correctly, you're looking for the UNION operator. To combine the three statements:

    SELECT...

    FROM....

    WHERE...

    UNION

    SELECT...

    FROM..

    WHERE...

    UNION

    SELECT...

    FROM...

    WHERE...

    [/code]

  • RE: Indexes

    And is that a language term or a mathematic/engineering term?

  • RE: Regarding Index

    Actually, you can change the PK from nonclustered to clustered without dropping it. Here's an example:

    CREATE TABLE t1

    (c1 INT NOT NULL);

    ALTER TABLE t1 ADD CONSTRAINT pk_t1 PRIMARY KEY NONCLUSTERED (c1);

    CREATE...

  • RE: Indexes

    Funny, I was wondering the same thing. I even did a google search to try to track it down.

  • RE: Absolutely (Not?)

    Backups, absolutely.

    And, this one does make people crazy, but I've been insisting on it for over a decade now... a tested script to deploy changes to production. No winging it,...

  • RE: Change Where clause causes HUGE performance problem

    The issue I'm seeing is that Nested Loop operator, NodeId = 17, right before the Hash Match, NodeId = 16, that's performing the aggregation. Two issues there, first, it's using...

  • RE: ERM to SQL Code

    Buck Woody addressed this question in a recent blog post:

    http://blogs.msdn.com/buckwoody/archive/2008/10/20/erd-designer.aspx

  • RE: What happened to SP3?

    I got that link from our local Microsoft rep. I'm assuming it's on the RSN schedule (Real Soon Now).

  • RE: Indexes

    If you don't have a clustered index on the table, I'd at least put one on that ID column. After that, take a look at the execution plans to determine...

  • RE: clustered index impact.

    There are exceptions, but by and large, every table should have a clustered index. The nonclustered indexes have to use RID to track down the data, which is generally not...

  • RE: Should applications share a database?

    I'm not aware of a resource for making these types of decisions except for common sense and experience. You could go to a consulting firm or bounce the ideas off...

  • RE: Determine Whether RC0 or RTM

    What about the Dudettes?

    Anyway, short of installing it & checking the version, I'm not sure what you could do.

  • RE: Script Databases

    And while I'm on it, I've run Powershell scripts against SQL Server 2008 before. I created a silly little test script for placing a load on a copy of AdventureWorks...

  • RE: Not Equal

    It looks like it did precisely what you told it to. It limited the names to where they did not equal 'Name1' and it showed those for values not...

Viewing 15 posts - 19,366 through 19,380 (of 22,202 total)