Specifies data types to override the default SAS data types during input processing.
Valid in: | DATA and PROC steps |
Default: | DBMS-specific |
Supports: | All |
proc print data=mylib.mytable (dbsastype=(mycolumn='CHAR(20)')); run;
proc print data=mylib.specprod (dbsastype=(fibersize='CHAR(21)')); run;
proc append base=dblib.hrdata (dbsastype=(empid='CHAR(20)')) data=saslib.personnel; run;DBSASTYPE= specifies to SAS that the EmpId is defined as a character field of length 20. When a row is inserted from the SAS data set into a DBMS table, the DBMS performs a conversion of the character field to the DBMS data type DECIMAL(20).