Hi,
I am using SYBASE database. in my script i am connecting to DB via using isql.
isql -U${S_USER} -S${S_SERV} -D${S_DB} -P${S_PWD} -b0 -w3000 -h0 -s"|" -i${MYDIR}/ABC.sql -oXYZ.txt << FINSQL
i am taking a ABC.sql file to use the queries written in it and storing the output in the XYZ.txt
i was trying to pass arguments in this sql file but unable to do it.
i was going through the site found the command "read" that can be used.
i want to read a specific variable.
can anyone please tell me how do i use read to pass the parameter??
searching it already but unable to get the desired result.