| Accessing Other Vendors' DBMS Data |
| DBMS Access Using the SQL Procedure Pass-Through
Facility |
| EXECUTE Statement
You may want to send dynamic, non-query, DBMS-specific SQL statements to the DBMS for processing. To do so, use the EXECUTE statement. |
General form, EXECUTE statement:
where
|
Typically, the DBMS-specific SQL statements in an EXECUTE statement include
one or more of the following:
In the following program, the EXECUTE statement grants UPDATE and INSERT authority to user CESTMOI for the DBMS table Orders.
proc sql;
connect to oracle as dblink
(user=cestmoi pw=trustme
path=oracpath connection=global);
execute (grant update, insert on orders
to cestmoi) by dblink;
disconnect from dblink;
quit;
|
![]() |
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.