Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
Credentials
DirectQuery delegates the credentials handling to a MicrosoftSQLServerDataSource.
To execute SQL in Microsoft SQL Server, you need to have a
SQL user
in the database you will use. As described in Microsoft documentation, several authentication methods can be used.
For example, here is how you would build the data source with an SQL login:
For more examples, here are the relevant Microsoft documentation pages:
Permissions
The SQL user used by DirectQuery needs to have the permissions to run queries in Microsoft SQL Server. To be able to run queries, theCONNECT permission is needed on the Microsoft SQL Server to be used,
then the SELECT permission is needed on the schemas or tables the user will use.