Hours, Minutes And Seconds Are Discarded When Loading Data Using OCIDirPath

(Doc ID 2402565.1)

Last updated on MAY 24, 2018

Applies to:

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

Symptoms

OCI Libraries are used to Insert value into Oracle Data Base table column of data type TIMESTAMP.
When 7-byte data of SQLT_DAT data type converted and inserted values into Oracle Data Base TIMESTAMP column, it shows HOURS,MINUTES,SECONDS values as "0".

Sample Code:

 

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms