Discussion Locked

creation of sybase tables interactively

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to create the sybase table from a shell
script by asking the nubmer of tables from user at
the prompt and getting the tablenames from the
user and creating the table names iteratively.
The table structure is the same for all the tables
how do i do it?

3 replies

by gigsvoo

Use the shell script to execute something like this after getting all input from the user:

isql -Uusername -Ppassword -Sservername -iscriptfile.sql

read Sybase documentation on isql will give more options to run the script.

This discussion is closed to new replies.