FedSQL is
the implementation of SQL that SAS Federation Server
uses to access relational data. FedSQL
is designed to be ANSI SQL:1999 core compliant with some extensions.
For applications, FedSQL
provides a common SQL syntax across all data sources. That is, FedSQL
is a vendor-neutral SQL dialect that accesses data from various data
sources without requiring the application to submit queries in the
SQL dialect that is native to the data source. In addition, a single FedSQL
query can target data in several data sources and can return a single
result set. When possible, FedSQL
queries are optimized with multi-threaded algorithms to resolve large-scale
operations.
The FedSQL
language driver parses FedSQL requests,
and then sends the parsed query to the appropriate Federation Server
driver to determine whether the functionality can be handled by the
data source.
For the SAS Federation Server Driver for Base SAS,
the parsed FedSQL request is interpreted
'as is' because FedSQL is
the native SQL dialect for the BASE data service.
For the relational database
drivers, if the data source supports the functionality, then the FedSQL
request is translated to the data source's native SQL dialect.
By enabling as much functionality as possible to be handled by the
data source, performance is enhanced. However, if a data source does
not support the requested functionality, then the FedSQL
language driver attempts to compensate by completing the balance of
the operation.
For complete FedSQL
statement reference, see the
SAS FedSQL Reference Guide.