• smrtstpetesmith (2/28/2014)


    I am but my results thus far are statistically insignificant...

    I would surprised if there is any difference. Throw together a few million row test table and give it a whirl. I suspect it will be the same.

    What is the rationale you are being told to use 0x0 instead of 0? Often people get ideas about performance and they stick with them even if there is nothing to back it up. I have a feeling this may be one of those situations.

    If you do end up using 0x0 you should probably add a comment about what that is for others who stumble across your code in the future and wonder what it is trying to accomplish. 😉

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/