Described here is the process on creating tables for application
schedulers from Oracle 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 an Sybase database.Steps for this task
- Open a command-line window.
- Make sure that you have administrator rights for the database system.
- Install the Distributed Transaction Management (DTM) option for
Sybase ASE by following these steps.
- Set enable DTM to 1 in the Sybase server configuration.
- Set enable xact coordination to 1 in the Sybase server configuration.
- Add the dtm_tm_role role to the Sybase administration user ID.
For example, enter the user ID sa.
- Restart the Sybase server.
- Use the Sybase isql utility to create a database. For example,
enter the database name scheddb. See your Sybase product documentation for
details.
- Create the schema:
- Using a text editor, edit the following script according to
the instructions located at the top of the file.
Note: When setting
the table prefix, capitalize all characters.
<install_root>\Scheduler\createSchemaSybase12.ddl
- Type the following command:
isql -S<servername> -U<userid> -P<password> -D<scheddb> -i createSchemaSybase12.ddl
Result
The Sybase tables and schema for the application scheduler are created.
What to do next