Welcome to my personal blog.
I'm an entrepreneur, technology executive, angel investor, public speaker, product designer and software developer. I enjoy creating new products and services and building high growth companies. I like to spend my time in Sydney, San Francisco and Tokyo and i'm the Founder at BuzzNumbers (acquired by MediaMonitors).
Monday, May 7, 2012
Posted by Nick Holmes a Court @ 10:37 PM
Why big corporates are less secure than you might ...
Hot 30 under 30 Australian Entrepreneurs...
Elevator pitch's for A Players...
The man watching... by Rainer Maria Rilke
Creating a profitable startup company (David Heine...
Social News
US Blogs
Aussie Bloggers
| Copyright 1998-2010 Nick Holmes a Court | |
hi............
What a useful post.I have a problem to record entrys have a datetime field and the time component but i solve all that after reading your post.Thanks for sharing.
I believe that you can also do one of the following (In SQL Server 2008 and later) with fewer instructions so maybe slightly quicker?
select
count(*) as RecordCount,
CAST(CAST(CreateDate AS INT )AS DATETIME) as DDMMYY
from Records
group by CAST(CAST(CreateDate AS INT)AS DATETIME)
OR
select
count(*) as RecordCount,
CAST(CreateDate AS DATE) as DDMMYY
from Records
group by CAST(CreateDate AS DATE)