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
Show UnFriendly HTTP Error
C++ Programming - error 2065 Program Email Address
trial version vmware "there are not enough licenses installed to perform the operation"
String.replaceAll question
Possible Memory leak in 3rd party com+app
|| in SS
Problem with SharePoint alerts and timer jobs
Access 2000 and SQL
cannot access admin$
$150 for “installing and connecting” a switch... costs extra to mount the switch on the rack