Forum Replies Created

Viewing 15 posts - 1 through 15 (of 212 total)

  • Reply To: Rebuild vs Reorganize

    I totally agree with you that a lot of half full pages is bad for disk storage, memory consumption and reading a lot of extra pages due to the low...

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: Rebuild vs Reorganize

    Thank you for pointing this out to anyone! Optimizing queries and keep your statistics up to date is far more efficient for the performance. The impact of fragmentation is even...

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: The Compression Type

    That was an easy question. You can have different compression levels for different partitions of an index and thats why you need to look at sys.partitions. You can also find...

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: Execution Plan Types

    Tricky! I guessed 3, estimated, actual and live

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: The Triple Update

    That was interesting!

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: The Rounding Calculation

    That one was too easy, I almost thought it was a trick question

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: Slicing a String in Python

    I have never used Python, but this seems to be a nice feature.

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: Cross Apply

    I also stuck with the answers about the products, as the query had nothing to do with products. I then assumed there has to be some issues in the query...

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: Casting Tiny Numbers

    Thanks for the Question! That was unexpected.

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • Reply To: The New Database Owner

    Easy question. If you delete the login you can get some problems because the owner doesn't exist anymore. Thats why it is imortant to change the owner.

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • RE: STRING_SPLIT with no delimiter

    I only get the A in the grid, but A B C D E F in text result. Strange.

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • RE: Which is the end?

    One problem with EOMONTH is that it doesn't return the time, and if you convert the date to datetime, you will not get the end of month as the time...

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • RE: DB MAXDOP Settings

    This is a very useful setting!

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • RE: sysdatabases vs sys.databases

    As already answered, sysdatabases are for backward compatibility, but instead of creating your own script for re-indexing, you should consider using the Ola Hallengren maintenance solution. Read more at

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

  • RE: Window Functions for Row Number

    I almost got it wrong as I didn't see the comma first and got confused so I had to read the options twice. Sometimes the devil is in the details.

    /Håkan Winther
    MCITP:Database Developer 2008
    MCTS: SQL Server 2008, Implementation and Maintenance
    MCSE: Data Platform

Viewing 15 posts - 1 through 15 (of 212 total)