How do I use the "Get Values From Database" interface in SQL-RD?

The "Get Values From Database" interface helps you to connect to and build queries to extract the information you need from a database. It is used in various parts of SQL-RD where database information is needed.

Get Values from Database

SSRS. Get Values from Database interface in SQL-RD
  • DSN Name: Drop down and select a DSN.
We strongly recommend System DSNs so that the DSN is visible to SQL-RD even when the user associated with the DSN is logged off.
All communication to databases (including Access databases) is done through ODBC, so you must setup a system DSN to the database before you can use this facility.
When setting up DSNs we recommend (if possible) that you use Windows Authentication (Trusted Connection). This ensures that your username and password are not required to be stored in SQL-RD (more secure) and overcomes a large number of security restrictions which Windows places on DSNs.
When using Windows Authentication, make sure that the SQL-RD NT Service user (or background application service user) has full rights to the database otherwise, though you will connect when you are logged in, automated scheduling will fail if the Service user has not got rights to the database.
When setting up a DSN to a SQL server, you must ensure that the "Default Database" setting is set to the database you are connecting to (Windows defaults this to "Master").
  • UserID: Enter the User ID SQL-RD should use to log on to the database
  • Password: Enter the password associated with the above user.
  • Click Connect to connect to the data source.
  • Select the table from the database that holds the required data. You can refine your selection query by using the simple or advanced tabs.
SSRS. Get Values from Database interface in SQL-RD
  • Click Parse
  • SQL-RD will display a list of results. Based on your Criteria SQL-RD will use the returned data to run the report.
SSRS. SQL-RD: Parsed results pop up
  • Click Yes
SSRS. Query Results from Get Values from Database interface in SQL-RD