Setting up SQL Server databases

Perforce does not provide support for installing, configuring, or maintaining SQL Server. A qualified SQL Server database administrator should install and configure the database.

Keep the following in mind:

  • Do not add, delete, or modify any fields in the Surround SCM tables.
  • Do not directly add, edit, or delete any data in the tables.
  • Do not create different primary keys. This will adversely affect application performance.
  • Do not create complex triggers on any of the tables. Triggers may cause severe database issues and correcting these issues is not covered by Perforce.
  • Create a process to back up database tables on a regular schedule.
  • Running SQL Server and the Surround SCM Server on the same computer can result in slow performance if not configured correctly. Make sure SQL Server is configured correctly to avoid using all the system memory.
You must be a member of the db_ddladmin role and have the CREATE TABLE, CREATE PROCEDURE, and CREATE VIEW permissions to create the Surround SCM tables.

Connecting to SQL Server

The only supported method for using SQL Server is via ODBC. After creating the database to use for the Helix ALM product, add a SQL Server data source name (DSN) on the Surround SCM computer. Each database used with Surround SCM must have a unique DSN. See Creating DSNs for SQL Server Databases for information.

Creating server database tables

The Surround SCM Server automatically creates tables when you start the server or convert the server database. The SCMServer.sql script file, which is located in the SQLServer directory in the Surround SCM application directory, is used to create the tables.