Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oracle and datetime filter
Message
From
19/07/2004 13:59:39
 
 
To
19/07/2004 13:50:32
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00925784
Message ID:
00925864
Views:
24
Glad it worked.

Yes, TO_DATE() is an ORACLE function. You'll find TO_CHAR() equally usefull.

lc_Sql = [SELECT * FROM Sales WHERE TO_CHAR(Sales.OrderDate, 'YYYY') = '] + TRANS(YEAR(DATE())) + ['] && Gets all records for the current year.

I myself am just getting started in Oracle. You find that Mark M. will be a big help.

Mike.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform