Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

 

 


 

 

 

 
 

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

Oracle Error Tips by Burleson Consulting

 

Oracle docs note this about ORA-01830 error:

       ORA-01830 date format picture ends before converting entire input string
 
Cause: A valid date format picture included extra data. The first part of the format picture was converted into a valid date, but the remaining data was not required.
Action: Check the specifications for date format pictures and correct the statement.

MOSC has information referring to ORA-01830 in which users find that their RMAN backup fails with ORA-01830, this has been occurring in Oracle Enterprise 10.2.0.3.0 on al platforms. 

Here is an example of how ORA-01839 is being thrown:

RMAN-00571: ============================================
RMAN-00569: =============== ERROR MESSAGE STACK

FOLLOWS ===============
RMAN-00571: ============================================
RMAN-03009: failure of backup command on t1 channel at 05/07/2007 07:14:42
ORA-01830: date format picture ends before converting entire input string

 

MOSC informs that ORA-01839 is being caused by an incorrect NLS path.  ORA-01830 can be resolved with the correct NLS_LANG, as well as the proper ORA_NLS33 environmental table.  Here is an example:

$export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
$export ORA_NLS33=<full path to $ORACLE_HOME/ocommon/nls/admin/data

If you are experiencing ORA-01839 because you have questions about date a time formatting, check out this great blog (by Jon Emmons), covering the basics, as well as a few great examples.

If using SQL*Loader, you can get the ORA-01839 error if the nls_date_format does not match the data:

05/06/2009 11:08:49 PM

alter session set nls_date_format='DD/MM/YYYY';

sqlldr . . .

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


To avoid the ORA-01839 error, the statement was changed:

alter session nls_date_format='DD/MM/YYYY HH:MM:SS AM';

You may want to check out the Oracle docs concerning correct date formatting rules.

 


 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2012 

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.


 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books