Hi all,
Dose anybody know how to execute filename.sql with variables ?
We usually execute filename.sql by command, db2 -vtf filename.sql; however, i want to bring variables into filename.sql for the name of database when connecting database, for example,
connect to %dbname
Well, I cound not find any info in command reference.
Please also give me a brife example.
Thank you so much !!
Sophie