![]() | |
#1
| |||
| |||
|
|
This one might be a simple one for you, but I searched the archives and couldn't find anything that would help. I am having a problem running queries against an Oracle RDB database using JDBC (sorry, I don't know the version of RDB) that use the TO_DATE function. The queries is a very simple one: select dob from inmate where DOB IN TO_DATE('06/19/1967', 'MM/DD/YYYY') The error is: %SQL-F-TRUNCPARAM1, Routine TO_DATE expects 3 Parameters Now, I am familiar with running Oracle SQL queries, but I'm not terribly familiar with a 3rd parameter. I've done some looking around and found that it is an NLS environment variable of some sort, but I'm not sure what it should be. Any help would be appreciated. Jay Northrop Hello, |
![]() |
| Thread Tools | |
| Display Modes | |
| |