SQL Data Unique Values
Rule description
This rule queries the specified SQL data source and returns all unique values in the specified SQL column.
When to use this rule
Use this rule when you need to get a report with unique values in the specified SQL column.
Rule settings
Query section
| Setting name | Description |
|---|---|
|
SQL instance
|
Specify the name of the SQL Instance as defined in the Utils Extension SQL Server configuration. Using the Default SQL Instance setting will retrieve the current setting from the SQL Connection settings of the Utils extension. NOTE: For more information, please see Connecting to Microsoft SQL Server data source article. |
SQL database name |
Specify database name from selected SQL Instance. |
SQL table |
Specify SQL Table or View from the selected database. Click the [...] button to display a list of tables from which to choose. |
SQL credentials |
Specify the database from the data source SQL Instance. Click the [...] button to enter SQL Credentials. NOTE: Cayosoft Administrator does not support Windows Authentication for connecting to a Microsoft SQL Server database. The database connection must use SQL Server Authentication, where the credentials (username and password) are created and managed within SQL Server itself. Mixed Mode refers to the SQL Server configuration that allows both SQL Server Authentication and Windows Authentication, but only SQL Server Authentication is supported by Cayosoft Administrator. |
Data Source Filter |
You can use the point-and-click filter builder for the specified data source. NOTE: If the Where clause is also specified, it will be applied and DataSource Filter will be ignored. |
Unique values for this column |
Specify the column to read the values from. NOTE:
If the column does not contain a string or anything that can be converted to a string (the like INT), then the following error will be displayed: |
More options | |
| Limit SQL query results | Specify the number of records to limit query results. |
| SQL timeout | Specify SQL Server connection timeout. By default, it is 30 seconds. |
Comments
0 comments
Please sign in to leave a comment.