Executing a Dynamic Statement in a Pro*C Client ALTER SESSION is not Taken Into Account
(Doc ID 352513.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Server - Enterprise Edition - Version: 10.2.0.1
Precompilers - Version: 10.2 and later ]
Information in this document applies to any platform.
***Checked for relevance on 23-Apr-2010***
In a 10.2.0 Pro*C program the "alter session set NLS_DATE_FORMAT" doesn't work, when the "alter session set NLS_DATE_FORMAT" is executed in a dynamic statement
ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS
select sysdate from dual in a C Host variable declared as "char"
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!