/ Published in: SAS
Annoyingly hard to find, I'm sure others out there have felt the pain of converting sas dates to oracle date formats.
example: data null; xdt = datetime(); xd = date(); put xdt oracledatetime.; put xd oracledate.; run;
Expand |
Embed | Plain Text
proc format library=your.formats.library; picture oracle_datetime other='%0d/%0m/%0Y %0H:%0M:%0S' (datatype=datetime); run; proc format library=your.formats.library; picture oracle_date other='%0d-%0b-%0Y' (datatype=date); run; proc format library=your.formats.library; picture oracle_time other='%0H:%0M:%0S' (datatype=time); run;
You need to login to post a comment.
