Chapter Contents

Previous

Next
The SQL Procedure

EXECUTE Statement


Sends a DBMS-specific SQL statement to a DBMS that is supported by a SAS/ACCESS interface.

Requirement: SAS/ACCESS software is required. For more information on this statement, refer to your SAS/ACCESS documentation.
See also: Connecting to a DBMS Using the SQL Procedure Pass-Through Facility and the SQL documentation for your DBMS.


EXECUTE (dbms-SQL-statement)
BY dbms-name|alias;


Arguments

alias
specifies an optional alias that is defined in the CONNECT statement. Note that alias must be preceded by the keyword BY.

dbms-name
identifies the DBMS to which you want to direct the DBMS statement (for example, ORACLE or DB2).

dbms-SQL-statement
is any DBMS-specific SQL statement, except the SELECT statement, that can be executed by the DBMS-specific dynamic SQL.


Details


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.