The FedSQL
language driver supports the FedSQL
dialect, as documented in the
SAS FedSQL Language Reference
Guide. When loaded, the FedSQL
driver parses SQL requests, and then sends the parsed query to the
appropriate SAS Federation Server driver to determine
whether the functionality can be handled by the data service. The FedSQL
driver includes an SQL processor which supports the FedSQL
dialect. The main emphasis of the FedSQL
driver is to support federation of data sources. For example, if
an SQL submission is requesting data from DB2 to be joined with data
from Oracle, the SQL processor will request the data from the data
sources and then perform the join in SAS Federation Server.
The FedSQL driver supports the FedSQL
dialect over any data source. For example, if the SQL request is from
a single data source that does not support a particular SQL function,
the FedSQL processor guarantees implementation
of the request.
The FedSQL
driver is also required for SAS Federation Server
SQL Authorization Enforcement. If the DSN is configured to enable Federation Server
SQL Authorization Enforcement, then the FedSQL
driver is automatically loaded and used. The FedSQL
dialect can also be requested when creating a DSN by choosing the FedSQL
dialect for the DSN.
The FedSQL
driver supports various connection options, as outlined below. You
must use the DEFAULT_ATTR option in the CREATE DSN statement to specify
these options. For example,
CREATE DSN MYDSN UNDER "Oracle Service" CONNECT
'DEFAULT_ATTR=(SQL_MAX_COL_SIZE=500);DRIVER=ORACLE'