Chapter 3. Setting Up SQL Remote

Preparing your Adaptive Server Enterprise server

Before you start

This section assumes the following:

 

You have installed an Adaptive Server Enterprise server that is to contain

 

the SQL Remote database.

 

You have installed the SQL Remote software on your computer. To install

 

the SQL Remote software, run the setup program from the CD-ROM.

 

You have created a database in the Adaptive Server Enterprise server that

 

will take part in your SQL Remote installation.

 

You have system administrator permissions on the Adaptive Server

 

Enterprise server, and database owner permissions in the database.

Ensuring TEMPDB is large enough

SQL Remote uses the TEMPDB database for the following purposes:

The database extraction utility used to create remote databases uses TEMPDB to hold a temporary set of Adaptive Server Anywhere system tables.

The Message Agent creates a temporary table called #remote when it connects to the server.

For these reasons, you should make TEMPDB larger than the 2 MB default size. The size required depends on the number of tables and columns in your SQL Remote installation, but a size of 10 MB is generally sufficient.

Installing the SQL Remote system objects

For a database in your Adaptive Server Enterprise server to take part in a SQL Remote installation, you must install a number of SQL Remote system tables, views, and stored procedures in your database.

To install the SQL Remote system objects

1.Locate the SQL Remote initialization script ssremote.sql in your SQL Remote installation directory.

2.Make a backup copy of the ssremote.sql script file. Then add the following two lines to the beginning of ssremote.sql :

use database_name go

21

Page 39
Image 39
Sybase DC38133-01-0902-01 manual Preparing your Adaptive Server Enterprise server, Ensuring Tempdb is large enough