Hello,
I am running some ETL routines against an Oracle database via SAS ACCESS ODBC, using PROC SQL.
There is a datetime field in the source table that contains some invalid values (8 of then according to the log) and I would like to view these in order to provide feedback to the users and get them fixed.
Code:
proc sql; create table test2 as select myDateField as dates from myTableView order by dates; quit;
I see the following log note:
The data value for column DATES (DATES) was truncated or was out of range 8 times when
You will likely have to use a different way to look at that variable as I am pretty sure the resulting SAS data set would have those values missing.
I would select information that identifies the record other than the date, then use a pass through query to create a report from the Oracle data base that should allow you to "see" the resulting date field.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
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.
Ready to level-up your skills? Choose your own adventure.