|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
inserting dates
I have a form that users fill out online and then submit to my oracle database. One of the fields is the date when the form is submitted. I have it declared as a "date" data type, is that what I should be using or should I just use char? I am having a problem inserting the date because it says that it is in the wrong format. Suggestions?
|
|
#2
|
|||
|
|||
|
Quote:
Hi, you need to convert date field what you are retrieving from form to TO_DATE(?,'DDMONYYYY') before inserting into db. Regards, Mahesh |
|
#3
|
|||
|
|||
|
I was using to_date to convert it, but not to that format, I thought the default was YYYY-MM-DD?
|
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > inserting dates |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|