SqlDbx Forum

SqlDbx

You are not logged in.

#1 2019-09-18 11:17:19

IcePaperWalking
Member

sqldbx auto connect and run sql script

my company is currently using sqldbx and we are running on IBM db2 luw
Is there anyway i can issue a command in .bat file to connect and execute my sql script?

i do see some utilities for osql and sqlcmd (as below) , however they dont seemed to work for sqldbx
osql -S .\sqlexpress -E  -i "c:\defragIndexes.sql" -o "c:\defragIndexesLog.txt"
sqlcmd -S <ComputerName>\<InstanceName> -i <MyScript.sql> -o <MyOutput.rpt>

Offline

Board footer

Powered by FluxBB