Lets you pass a SAS SQL procedure DELETE statement directly to a data source to process, which can improve performance.
| Valid in: | LIBNAME statement |
| Default: | none |
| Supports: | All |
specifies that a PROC SQL DELETE statement is passed directly to the data source for processing.
libname x fedsvr server="d1234.us.company.com"
port=2171 user=user1 pwd=pass1
dsn=basedsn direct_exe=delete;
data x.db_dft; /*create the SAS data set of 5 rows */
do col1=1 to 5;
output;
end;
run;
options sastrace=",,,d" sastraceloc=saslog nostsuffix;
proc sql;
delete * from x.db_dft; /*this delete statement
is passed directly to the data source*/
quit; SASTSE_2: Executed: on connection 1 delete from db_dft