Have ISQL Values in Shell script as :

${ISQL} -U {DB_SERVER} -P {PASSWORD} >${tmp_file}

How can I pass Null values in either DB_SERVER or Password?

I tried below but it doesn't work (I'm using POSIX Shell script(Solaris))

${ISQL} -U{DB_SERVER} -P{PASSWORD} | sed -e -s/NULL//g' >${tmp_file}

but it doesn't seem to work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.