13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

924 Example: Append a Data Set to a DBMS Table 4 Appendix 2Example: Append a Data Set to a DBMS TableThe following example appends new employee data from the NewEmp <strong>SAS</strong> data setto the Employees DBMS table. The COMMIT statement causes a DBMS commit to beissued after every 100 rows are inserted. The ERRLIMIT statement causes processingto stop after 10 errors occur.proc dbload dbms=oracle data=newemp append;user=testuser;password=testpass;path=’myorapath’;table=employees;commit=100;errlimit=10;load;run;By omitting the APPEND option from the DBLOAD statement, you can use thePROC DBLOAD SQL statements to create a DBMS table and append to it in the samePROC DBLOAD step.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!