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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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