BookmarkSubscribeRSS Feed
Kshitij
Calcite | Level 5

Hi,
I am facing problem in converting SAS datasets to Oracle in SAS DI.
The columns having DATETIME. format in SAS is getting converted into DATE datatype in Oracle and time component of the

column is not showing in Oracle.
For example:
20AUG13:14:33:22 is showing as 20-AUG-13 only in Oracle, but the time component is missing.
Please help me and provide a solution in SAS DI.

3 REPLIES 3
RichardinOz
Quartz | Level 8

You may just need to change the format in Oracle.  As far as recall, Oracle stores all dates as datetime values.

Richard

LinusH
Tourmaline | Level 20

Native Datatypes

Data never sleeps
jakarman
Barite | Level 11

Nothing to do with DI. It is a common tranlation issue. Richard LinusH mad the same references 

SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Second Edition (Data Types for Oracle)

---->-- ja karman --<-----

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1002 views
  • 0 likes
  • 4 in conversation