Skip to content
April 8, 2011 / doganay

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

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,


Problem:

select to_date('08/04/2011','dd/mm/yyy') from dual;

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


Cause:

This error usually because of a simple human mistake 🙂
see? yyy instead of yyyy.


Solution:

Think simpler if your ora-error is nonsense 🙂

to_date('08/04/2011','dd/mm/yyyy')
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: