Creating a database for assets in Microsoft SQL Server

These are the instructions for manually creating tables for IBM® Rational® Asset Manager in Microsoft SQL Server.

Before you begin

Procedure

To create the database tables:

  1. Ensure that your ID has permission to execute CREATE SCHEMA statements. Typically, the database owner has this permission.
  2. Create a new database with database name RAMDB. The default collation option for SQL Server is case-insensitive; the Rational Asset Manager database must use a case-sensitive collation to work correctly. You must select a collation sequence that ends with_BIN2 (for example, Latin1_General_BIN2). To learn more about collation options, see Windows Collation Name on the Microsoft website.

    You can create databases using the command line tool. To start the command line tool, type sqlcmd -U login_id -P passwordin the command prompt.

    From the command line tool, type:
    CREATE DATABASE RAMDB COLLATE collation
    GO
    where, collation is where you specify a collation sequence. For example:
    CREATE DATABASE RAMDB COLLATE Latin1_General_BIN2
    GO 
  3. Use the server setup application to populate the database. Or

    If you are not using the server setup application, run the scripts to populate the database. Perform the following to run the scripts in the command prompt:

    1. Open the command prompt.
    2. Type sqlcmd -d RAMDB -i path to SQLscripts\RAMSCHEMA_SQLServer.sql, and press [ENTER]. Where, RAMDB is the name of the database that you have newly created.
    3. Type sqlcmd -d RAMDB -i path to SQLscripts\bootStrap_SQLServer.sql, and press [ENTER]. Where, RAMDB is the name of the database that you have newly created.
    To learn more about the server setup application, see Installing Rational Asset Manager server by using Installation Manager
  4. Verify that the tables were created.

What to do next


Feedback