sas_query
Run one SQL statement against SingleStore as SAS PROC SQL/FedSQL or CAS FedSQL, returning results, pushdown plans, and write confirmations.
Instructions
Run one statement from the SQL Editor as PROC SQL / FedSQL (SAS libraries) or FedSQL in CAS (caslibs).
``language``: procsql, fedsql or cas. The SQL is wrapped (proc sql; … quit; etc.); text starting with
proc / data / % runs as plain SAS code. Statements that write anywhere but WORK / CASUSER are answered with
``needs_confirmation`` (the app asks, then calls sas_execute). ``pushdown`` adds sastrace / the FedSQL plan
and returns what was sent to SingleStore with a verdict. ``history`` false: not recorded in the editor's
run history (the Schema Explorer's previews).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| tab | No | ||
| file | No | ||
| tab_id | No | ||
| history | No | ||
| library | No | ||
| options | No | ||
| language | Yes | ||
| max_rows | No | ||
| pushdown | No |