Use
isql to log in to the instance. From
the
$SYBASE/$SYBASE_ASE/scripts directory,
run the script:
isql -Usa -P***** -Sserver_name -iscript_name
Where:
-
server_name – represents
the destination server for the database.
-
script_name – is
the file name of the script to run.
For example, to install
pubs2 on a server
named VIOLIN, enter:
isql -Usa -P***** -SVIOLIN \
-i $SYBASE/$SYBASE_ASE/scripts/installpubs2