Professional Documents
Culture Documents
Databases
Article • 02/20/2023
Syntax
Sql.Databases(server as text, optional options as nullable record) as table
About
Returns a table of databases on the specified SQL server, server . An optional record parameter,
options , may be specified to control the following options:
navigation properties.
MaxDegreeOfParallelism : A number that sets the value of the "maxdop" query clause in the
which could fail and cause the entire query to fail. Not recommended for general use.
ContextInfo : A binary value that is used to set the CONTEXT_INFO before running each
command.
OmitSRID : A logical (true/false) that, if true, omits the SRID when producing Well-Known Text
The record parameter is specified as [option1 = value1, option2 = value2...] for example.
Does not support setting a SQL query to run on the server. Sql.Database should be used instead to
run a SQL query.