MSCRM dynamics 4
SQL Visual studio 2008
Hi I have a field called scheduledstart which outputs value as 10/10/2010 00:08:30.
I have two datetime parameters
@start
@end
in my where clause
scheduledstart >= @start
and
scheduledstart <= @end
Perfect so far
but when I choose to pick 1st may to 31st may, it only shows up to 30th may because of the time factor.
How can I convert it to date field or even a datetime field showing 10/10/2010 00:00:00 as this would work
<= 10/10/2010.
I have tried convert(varchar,schedledstart,103) but this now a varchar not a date.
Thank you for all your time
SQL Visual studio 2008
Hi I have a field called scheduledstart which outputs value as 10/10/2010 00:08:30.
I have two datetime parameters
@start
@end
in my where clause
scheduledstart >= @start
and
scheduledstart <= @end
Perfect so far
but when I choose to pick 1st may to 31st may, it only shows up to 30th may because of the time factor.
How can I convert it to date field or even a datetime field showing 10/10/2010 00:00:00 as this would work
<= 10/10/2010.
I have tried convert(varchar,schedledstart,103) but this now a varchar not a date.
Thank you for all your time