rje7 2 Junior Poster in Training
{
sqlplus -S ${DB_LOGIN}  <<  eosql
set echo off;
set feedback off;
set heading off;

WHENEVER SQLERROR EXIT FAILURE;

${1} 
}

can i pass the qurey as a prameter to this function? will that query get executed if the query is echoed as ${1}?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.