If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
In my example, I've shown you how to execute one of the Sybase scripts files from the $SYBASE/@SYBASE-ASE/scripts folder. Open any file from that folder with a text editor and see what they've put there: SQL and T_SQL statements.
The idea is:
1. create such a script file, with your Sybase statements
2. create a .bat file with the isql statement like above that calls (with -i) your script file
3. run the .bat file
__________________
Florin Aparaschivei
Iasi, Romania
whatever you wanted to execute on sybase put them in that script file.
Hi,
I know that I have to put all commands I want to execute in the script file.
But my concern is about the content. Does it mean that I put only isql command inside it without DOS command?
In my example, I've shown you how to execute one of the Sybase scripts files from the $SYBASE/@SYBASE-ASE/scripts folder. Open any file from that folder with a text editor and see what they've put there: SQL and T_SQL statements.
The idea is:
1. create such a script file, with your Sybase statements
2. create a .bat file with the isql statement like above that calls (with -i) your script file
3. run the .bat file
Hi,
Does it mean that I have to put script file at $SYBASE/@SYBASE-ASE/scripts and then create .bat file to execute the commad you mentionned above?
Excuse me, I'm back again, what is the meaning of $SYBASE/@SYBASE-ASE and what should be the exacte value of it?
These are environment variables that SYBASE needs.
You don't have to create the script files in that specific path, you may put them anywhere on your server.
__________________
Florin Aparaschivei
Iasi, Romania