Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select by dates
Message
From
09/01/2013 08:35:47
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01561865
Message ID:
01561874
Views:
43
>Hi all, I have a table containing a DateTime column, how can I retrieve all records on or after a date such as 01/10/2012 ? I've tried
>
>
> Select * 
>from mytable
>where convert(varchar,MyDateTimeColumn,3)  >= '01/10/12' but I'm still getting records with a date prior to that e.g I get records back with '23/07/12'  - any ideas ?
>
where MyDateTimeColumn >='20121001'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform