Create Microsoft SQL Server tables for schedulers
Create tables for schedulers on Microsoft SQL Server databases using DDL or SQL files.
This task requires you to configure a database and make it available. Refer to the Creating Microsoft SQL Server databases for schedulers topic for more information.
To create tables for schedulers on Microsoft SQL Server databases, using DDL or SQL files, use these steps.
- Open a command-line window.
- Change to the directory where the configuration scripts for scheduler are located. This is the Scheduler subdirectory of the IBM WebSphere Application Server installation directory.
On Windows systems, enter:
cd %app_server_root%\Scheduler
On UNIX systems, enter:
cd $app_server_root/Scheduler
- Use a text editor to edit the schema creation script, createSchemaMod1MSSQL.sql, according to the instructions at the beginning of the file.
When setting the table prefix, capitalize all characters.
- Create the schema:
- Verify that we have administrator rights for the database system. The user ID used to create the schema must be the one configured WebSphere Application Server to use when accessing the database.
- Create the schema (tables and views) :
sqlcmd -S <servername> -U<userid> -P<password> -d<databaseName> -i<script name>
Results
The Microsoft SQL Server tables and schema for scheduler exist.
Related tasks
Create Microsoft SQL Server databases for schedulers
Data source minimum required settings, by vendor