Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime datatype and SQL
Message
From
20/06/1997 10:31:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Datetime datatype and SQL
Miscellaneous
Thread ID:
00037124
Message ID:
00037124
Views:
69
Can anybody tell me why this does not work:

select * from majhist where jh_mjkey = 1 ;
AND jh_dateent = ;
(select max(jh_dateent) from majhist where jh_mjkey = 1)

BUT this does:

select * from majhist where jh_mjkey = 1 ;
AND ttoc(jh_dateent) = ;
(select ttoc(max(jh_dateent))from majhist where jh_mjkey = 1)


?????

Thanks,
Valerie
Reply
Map
View

Click here to load this message in the networking platform