Retrieves and uses DBMS data in a PROC SQL query or view.
Tip: | You can use CONNECTION TO in the SELECT statement's FROM clause as part of the from-list. |
See: | Connecting to a DBMS by Using the SQL Procedure Pass-Through Facility |
SAS/ACCESS documentation |
specifies an alias, if one was defined in the CONNECT statement.
identifies the DBMS that you are using.
specifies the query to send to a DBMS. The query uses the DBMS's dynamic SQL. You can use any SQL syntax that the DBMS understands, even if that syntax is not valid for PROC SQL. For example, your DBMS query can contain a semicolon.