DBLOAD Procedure
Syntax
PROC DBLOAD <options>;
ACCDESC=
<libref.>access-descriptor;
DELETE variable-identifier-1 <…variable-identifier-n>;
LIST <ALL | FIELD | <’>variable-identifier<’>;
NULLS variable-identifier-1 =
Y | N <…variable-identifier-n = Y | N>;
RENAME variable-identifier-1 =
<'>column-name-1<'> <…variable-identifier-n = <'>column-name-n<'>>;
RESET ALL | variable-identifier-1<…variable-identifier-n>;
SQL DBMS-specific
SQL-statement;
TYPE variable-identifier-1 =
'column-type-1' <…variable-identifier-n = 'column-type-n'>;
WHERE SAS-where-expression;
RUN;
Table of Procedure Tasks
| Statement |
Task |
| PROC DBLOAD |
Send data from SAS to a DBMS |
| Database Connection |
Provide DBMS connection information |
| ACCDESC |
Create an access descriptor based on the new DBMS table |
| COMMIT |
Issue a commit or save rows after a specified number
of inserts |
| DELETE |
Specify variables that should not be loaded into the
new table |
| ERRLIMIT |
Stop the loading of data after a specified number of
errors |
| LABEL |
Cause DBMS column names to default to SAS labels |
| LIMIT |
Limit the number of observations that are loaded |
| LIST |
List information about the variables to be loaded |
| LOAD |
Create and load the new DBMS table |
| NULLS |
Specify whether DBMS columns accept NULL values |
| QUIT |
Terminate the procedure |
| RENAME |
Rename DBMS columns |
| RESET |
Reset column names and data types to their default
values |
| SQL |
Submit a DBMS-specific SQL statement to the DBMS |
| TABLE |
Name the DBMS table to be created and loaded |
| TYPE |
Change default DBMS data types in the new table |
| WHERE |
Load a subset of data into the new table |
Last updated: February 3, 2026