Microsoft SQL

Steps to prepare and connect to MS-SQL

Lightup account setup: MS-SQL

You'll need a user account that can query data and metadata for all tables you want to monitor. You might already have a user set up that will work, or you might need to create one.

Run the following T-SQL:

CREATE LOGIN lightup WITH PASSWORD = '********';
CREATE USER lightup FOR LOGIN lightup;
CREATE ROLE lightup_role;
GRANT SELECT ON SCHEMA :: [SELECT SCHEMA_NAME(schema_id) AS schema_name FROM sys.objects]  TO lightup_role;
GRANT ROLE lightup_role TO lightup;

Query governance

Microsoft-SQL datasources support Query date range limit and Query history. For steps, see Set query governance settings for a datasource.

Connector settings

  • Host Name - The hostname for the datasource (check the browser address bar; you want the string between // and /. Example:
  • Database Name - The name of the database you're connecting to.
  • Username - Enter lightup.
  • Password - The lightup account's password.

Did this page help you?