General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only