Forum Replies Created

Viewing 15 posts - 16 through 30 (of 62 total)

  • RE: TOP vs Max/Min: Is there a difference?

    Create code for Sales.SalesOrderHeaderBig is

    USE AdventureWorks2012Big
    GO
    CREATE TABLE Sales.SalesOrderHeaderBig(
     SalesOrderID int IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
     RevisionNumber tinyint NOT NULL,
     OrderDate datetime NOT NULL,
     DueDate datetime...

    Mike Byrd

  • RE: TOP vs Max/Min: Is there a difference?

    Wow, didn't know the article was going to generate a fire-storm on TSQL syntax.  The original purpose was to see if there was a difference getting max/min value of a...

    Mike Byrd

  • RE: Scalar Functions with Query Plans: Not all is obvious!

    Actually all the suggestions made are good ones, and as most have pointed out all is very environment sensitive.  90% of the DelFlag column are marked 'N' and the others...

    Mike Byrd

  • RE: Scalar Functions with Query Plans: Not all is obvious!

    Index work had already been accomplished -- hence the index + key lookup.  The query returns every column in the table, and I am just opposed to creating a non-clustered...

    Mike Byrd

  • RE: Scalar Functions with Query Plans: Not all is obvious!

    Same query plan, same cost, same IO, same cpu time.  No change defining it as a variable first.

    Mike Byrd

  • RE: Covering Indexes: Not Just for SELECT but also for UPDATE statements

    From the estimated query plan.  Statistics were up to date, so estimated rows were close to actual rows.

    Mike Byrd

  • RE: sys.dm_db_xtp_hash_index_stats returns bucket counts for range indexes

    I noticed that also when using a columnstore index as a clustered index and a non-clustered Hash Primary Key (for in-memory tables). When using dm_db_xtp_hash_index_stats I get one row...

    Mike Byrd

  • RE: Finding and Eliminating Duplicate or Overlapping Indexes

    Hmmm, you finally put in writing (and script) what I have been doing for years. Yeah! Great work!

    Mike Byrd

  • RE: The Career Path

    Interesting topic. After retiring from the Air Force I started in management and eventually ended up as a CTO for an insurance company here in Texas. After a...

    Mike Byrd

  • RE: SQL Server 2008 Compression

    I was an early user of SQL LiteSpeed. Yes you are correct, the less IOs offerred by compression resulted in tremendously less backup and restore times. Although depending...

    Mike Byrd

  • RE: AVG function

    Makes it even more interesting if you add following:

    insert into @test-2 values ( NULL )

    Answer is still 6.

    Mike Byrd

  • RE: Analytics or Flying Cars

    Data presentation -- still an art, definitely not a science. The Challenger accident is a significant occurrence where we had the data, but was never presented in a way...

    Mike Byrd

  • RE: Deleting large number of rows from a table & a heap in a VLDB

    Well written for what it covered, but my initial expectation before reading the article was that you would touch more on techniques for handling transaction log growth and also handling...

    Mike Byrd

  • RE: A Collaborative Approach To Table Compression

    Just to make sure we are all on same page, the way I've heard the Microsoft CAT engineers explain for row and page compression that the data is compressed both...

    Mike Byrd

  • Viewing 15 posts - 16 through 30 (of 62 total)