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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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