Java date format in select query

  • From: "John Dunn" <JDunn@xxxxxxxxx>
  • To: "oracle-l" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 4 Nov 2008 15:19:08 -0000

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.

 

Other related posts: