Described below is the process on creating tables for application
schedulers from Microsoft SQL databases, using data definition language (DDL)
or structured query language (SQL) files.
Why and when to perform this task
Follow these steps to create a table from a Microsoft SQL database.Steps for this task
- 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, type this:
cd %install_root%\Scheduler
On
UNIX systems, type this:
cd $install_root/Scheduler
- Use a text editor to edit the schema creation script, createSchemaMSSQL.sql,
according to the instructions at the beginning of the file.
Note: When
setting the table prefix, capitalize all characters.
- Create the schema:
- Verify that you have administrator rights for the database system.
The user ID you use to create the schema must be the one that you configure
WebSphere Application Server to use when accessing the database.
- Run the following script to create the schema (tables and views):
isql -S<servername> -U<userid> -P<password> -D<databaseName> -i<script name>
Result
The Microsoft SQL Server tables and schema for the application scheduler
is created.
What to do next