Setting up GainSeeker on a SQL Server database

Your SQL Server database administrator (DBA) must perform the following steps on the SQL Server:

  1. Use SQL Server Management Studio or another tool to manually create a new GainSeeker database. You can use default or typical settings for a new database, except for the following:

  2. If using SQL Server authentication (recommended), create a SQL Server Login (user) for this GainSeeker database. For this new user:

    1. Set the Default Database to the GainSeeker database.
      In SQL Server Management Studio, while creating the new Login, use the General page to find this setting.

    2. For the GainSeeker database, grant the roles of public and db_owner to this user.
      In SQL Server Management Studio, while creating the new Login, use the User Mapping page to find this setting.

Important: For SQL Server on Linux, you are required to use SQL Server authentication.

  1. Create all necessary tables in the GainSeeker database. Scripts for creating and populating the necessary tables are provided in the GainSeeker installation package:

  2. Ensure that statistics will be updated regularly for this database.

  3. Ensure that SET NOCOUNT is OFF for the GainSeeker database by running the query  SET NOCOUNT OFF  for this database. (If SET NOCOUNT is ON, GainSeeker will display error messages and fail to store some types of data records.) For more information, see https://docs.microsoft.com/en-us/sql/t-sql/statements/set-nocount-transact-sql.

After setting up the database, you can install the GainSeeker client on each workstation.