RE: Retrieve Date

"Nagy, Len" <[email protected]> Fri, 14 Feb 2003 08:29:09 -0500
Newsgroups gmane.comp.db.oracle.devel
Message-ID <LYRIS-1796914-874208-2003.02.14-13.32.08--gcdod-oracle#[email protected]>
Change 'yyyy-mm-dd hh:mm:ss' to 'yyyy-mm-dd hh24:mi:ss'
 
Best Regards 
Len Nagy 
Lead systems architect 
Agway Energy Information Systems 
(315) 449-6162 
[email protected] 
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759
 
 
-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Friday, February 14, 2003 4:34 AM
To: Oracle
Subject: [oracle] Retrieve Date
 
Hi,
 
I got the following error when executing the below sql statement.
 
select * from d_schedule where SCHEDULE_DATE= to_date('2003-02-14
15:44:22', 'yyyy-mm-dd hh:mm:ss')
*
ERROR at line 1:
ORA-01810: format code appears twice
 
Pls help. Thanks.
 
Best Regards,
- nicole -
 
 
---
Change your mail options at http://p2p.wrox.com/manager.asp or 
to unsubscribe send a blank email to %%email.unsub%%.


---
Change your mail options at http://p2p.wrox.com/manager.asp or 
to unsubscribe send a blank email to [email protected].