Microsoft
Software
Hardware
Network
Question : sql - date format
I used to have oracle 9 i. I think it is now oracle 10 g and I have a sql that used to run fine, but is now throwing this error:
where alian_join_dt >= trunc(sysdate)-10101010101
010101010
*
ERROR at line 3:
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
----my sql is :
select acct_nbr, type
from mytable where join_dt >= trunc(sysdate)-1;
Answer : sql - date format
There is nothing wrong with:
select acct_nbr, type
from mytable where join_dt >= trunc(sysdate)-1;
What is generating:
trunc(sysdate)-
1010101010
1010101010
This will fail since it trying to subtract 10101010101010101010 days from sysdate.
Random Solutions
Can you install ESXi on ESXi?
Dell Latitude C600 - Where is the CYMOS battery? Anyone got schematics?
SQL Select Statement
Convert old MAC Adobe Director Project to new PC version
SQL Server express edition restore folder
Access to windows server remotely
outlook 2007 keeps faulting in module msoert2.dll
Easy answer for someone who knows VBA
Only 1 host can get out to internet
increase database access performance - ms-access