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 --<-----

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 956 views
  • 0 likes
  • 4 in conversation