Hello Ravindra,
You should use to_char OR to_data not both.

select * from cust where
to_char(DATECREATED,'DD-MON-YYY HH24:MI:SS') = '01-FEB-03 07:53:28'

Wednesday, March 12, 2003, 2:20:17 AM, you wrote:

BR> Hi...

BR> I am getting the following error with a query like this

BR> select * from cust where
BR> to_char(DATECREATED,'DD-MON-YYY HH24:MI:SS') =
BR> to_date('01-FEB-03 07:53:28','DD-MON-YY HH24:MI:SS')

BR> ORA-01830: date format picture ends before converting entire input string

BR> What is the problem?

BR> Thanks
BR> -- 
BR> Please see the official ORACLE-L FAQ: http://www.orafaq.net



-- 
Best regards,
 Sergey                            mailto:[EMAIL PROTECTED]
 ICQ 160079606


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Sergey V Dolgov
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to