Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select with Character and Time
Message
From
05/01/1999 14:55:41
 
 
To
05/01/1999 14:46:23
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00172892
Message ID:
00172896
Views:
24
>Hello All
>
>I have a table that have a field Called HOUR and him data type is caracter.
>
>and i have to do a Select Sql wherer Hour > Time()
>
>how can i do this?
>
>thanks

Something like this:
nHour=HOUR(datetime())
Select * From MyTable Where MyTable.Hour>nHour

I guess you will also want to filter by date here, because without it the result does not make much sense.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform