Regarding IBM Data Studio 4.1.3 Client, do I really need to be connected to a database in order to run an sql script?
Because when I want to create another database through the script, Data Studio requires me to connect to a database. Is there any way to disable this requirement?
grateful for the attention.
Regarding IBM Data Studio 4.1.3 Client, do I really need to be connected to a database in order to run an sql script?
Because when I want to create another database through the script, Data Studio requires me to connect to a database. Is there any way to disable this requirement?
grateful for the attention.
On Sunday, 12 August 2018 02:59:24 UTC+1, SANDRO HAIDEN TEIXEIRA
wrote:
Regarding IBM Data Studio 4.1.3 Client, do I really need to be
connected to a database in order to run an sql script?
Because when I want to create another database through the script,
Data Studio requires me to connect to a database. Is there any way to
disable this requirement?
grateful for the attention.
If you are a competent scripter, you do not need to use DataStudio
to run an SQL script. If the script contains only SQL, it requires a database-connection (which you can create outside of the script if you
know what you are doing). If the script contains *commands* (i.e. NOT
SQL) then some commands do not need a pre-existing database connection
(such as create database, drop database, backup database etc.). For
those kinds of scripts , DataStudio may not be the correct tool for
the job.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 76:27:26 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,734 |
Posted today: | 1 |