Sunday, December 30, 2012

Sybase command to connect to database


Command to connect:

isql -U user -P password -i script_name.sql -o log_name.log

User 
The owner of the database. To run admin scripts, the user is the sa user. The admin script creates the database owner for the repository. When you run the schema scripts, the user must be the database owner.

Password 
The password for the sa user.

script_name
The name of the script.

log_name 
The name of the log file.

No comments: