My Oracle Support Banner

Different Behavior Of Stored Procedure Called From SQLPlus And R-Studio (Doc ID 2899610.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.14.0.0.0 and later
Information in this document applies to any platform.

Goal

 You created a stored procedure inserting data from one table with timestamp to another with date datatype.


When you call this procedure from SQLPlus everything is fine, the 3 rows are inserted but when you call the same procedure from R-Studio using ROracle library, you receive following error:

oracleProc(con,'BEGIN ins_td_stamm; END;')
Error in .oci.oracleProc(conn, statement, data = data, prefetch = prefetch, :
  ORA-01843: not a valid month.

 

How can this error be resolved?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.