Read a SQL Server table. The table does not have to be a known data source to GlareDB.


read_sqlserver(<connection_string>, <schema>, <table>)
Field Description
connection_string A SQL Server connection string.
schema The name of the schema containing the table.
table The name of the table to query.


In the following example, a ‘users’ table located in a SQL Server database is queryed.

select * from read_sqlserver(

Refer to the documentation on SQL Server data sources for more information.