Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete records between a time range
Message
 
 
To
02/07/2003 16:42:32
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00806306
Message ID:
00806321
Views:
16
>Hi
>
>I have a table with datetime field and I want select all records that are not between 9:00 am and 5:00 pm
>
>thanx
Try
WHERE SUBSTR(TTOC(DatetimeField1), 9,6) BETWEEN "090000" AND "170000"
It maybe slow if table is big.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform