I have an access database which will be ported over to sql server however, sql server seems to automatically store the date with the time as 07/09/2008 12:00:00:00
This is for a telephony program so the caller would punch touch tones of 070908
Normally my query for access would say
"select stats.* from stats
where datestat = 07/09/2008"
How would I do this with Tranact sql? I do not want it to look at the time portion of the date but only the date portion. I think I would have to use the convert function but I am not sure of the sql string.
This is for a telephony program so the caller would punch touch tones of 070908
Normally my query for access would say
"select stats.* from stats
where datestat = 07/09/2008"
How would I do this with Tranact sql? I do not want it to look at the time portion of the date but only the date portion. I think I would have to use the convert function but I am not sure of the sql string.