04-22-11, 05:30 #1Registered User
- Join Date
- Apr 2011
Unanswered: How send a variable to the sql script file?
good guys, i made a batch file for running my sql script,
but i don't know how to send a variable to my sql script.
any help will be appreciation.
variable is ‘201103’
db2 -td; -cf t.sql -l t.log
select * from table1_&1