Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formats in SAS and Oracle

Status
Not open for further replies.

dimpu79

Programmer
May 8, 2004
8
US
Hi,
If we are having variables in sas formats and we need to load the sas datasets on Oracle, how can we do this if variable formats in sas are not compatible with that of oracle.
Thanks in advance.
 
Why not 'strip' the formats off the variables and then load the raw data into Oracle. You may still have to work on date and time vars but all other vars should be ok.

ex.
data your_table_to_export_to_oracle;
set your_table;
format _all_;
run;


The new table should have no formats attached.

I hope that this helps you.


Klaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top