on 2014 Nov 25 8:23 AM
Hello,
I'm looking for a similar functionality in SQL Anywhere which you can find in Oracle....
In Oracle you can put all you script in a folder and have another script (in the same folder, lets call it X ). Then you just can to start (run) script X which calls the other scripts in a certain order.
> @UpdateScript.sql
The UpdateScript could contain something like this
@@AlterTables.sql @@dropConstraints.sql @@InsertScript.sql @@addConstraint.sql @@AddTables.sql
…. …..
So can this be done in a similar (easy) way in Sql Anywhere?
Request clarification before answering.
If you are invoking the scripts from ISQL, you can use the READ statement: http://dcx.sybase.com/index.html#sa160/en/dbreference/read-statement.html*d5e63291
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See also: READ and PARAMETERS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.