Java date format in select query

From: John Dunn <JDunn_at_sefas.com>
Date: Tue, 4 Nov 2008 15:19:08 -0000
Message-ID: <2F802216565E44489600A03F763219A83E9D93@mia.SEFASBRISTOL>


A 3rd party process is passing a date in java.util.date format to my SQLPLUS script and I want to use it in a select statement  

Can the TO_DATE clause handle a java date? If so, whats the syntax?          

John Dunn

Product Consultant
Sefas Innovation Limited.

Tel: + 44 (0) 117 373 6122

www.sefas.com <http://www.sefas.com/>

P Please consider the environment before printing this email

Sefas Innovation Limited, CityPoint, Temple Gate, Bristol BS1 6PL, UK.

Tel: +44 (0) 117 373 6114 Fax: +44 (0) 117 373 6115.

Registered No: 3769761 England.

Registered Office: One New Street, Wells, Somerset, BA5 2LA, United Kingdom.

VAT Registration No: GB 741 5377 32

Unless stated to be non-confidential, this email and any attachments are private and confidential and are for the addressee only. Sefas monitors e-mails to ensure its systems operate effectively and to minimize the risk of viruses. Whilst Sefas has taken reasonable steps to scan this email, it does not accept liability for any virus that may be contained in it.

Internet communications are not 100% secure and as such Sefas is not responsible for their abuse by 3rd parties, nor for any alteration or corruption in transmission.  

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Nov 04 2008 - 09:19:08 CST

Original text of this message