Skip to main content

Dewald van Staden

Member since Sep 8, 2011

Recent Blog Comments By Dewald van Staden

  • Getting Only the Date Part of a Date/Time Stamp in SQL Server

    Posted on Sep 8, 2011 at 5:00 AM

    Hi Ben, Great blog, use it a lot. I am running SQL Server 2008R2 and I just go: CAST(GetDate() AS DATE) AND CAST(GetDate() as TIME) Am I missing an obvious benefit by Flooring the Float first? Or do you think the above will work just fine everywhere plus performance wise? Regards, Dewald... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel