Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • Oracle Statspack survival Guide Oracle
  • Oracle Data Direct to TAPE Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • cur_sql.sql Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • Set Role explaination. Oracle
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • login.sql Oracle
  • Very clear article about oracle dataguard Oracle
  • create database link syntax Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix

Passing from Unix to PLSQL using bind variables

Posted on 29-Aug-2006 By Admin No Comments on Passing from Unix to PLSQL using bind variables

. $ENV_FILE

echo “Started test.ksh `date +%D-%T`”

V1=1;

V3=One;

$ORACLE_HOME/bin/sqlplus pvm/pvm<set serveroutput on;

variable pvm1 number;

exec :pvm1:=$V1;

variable pvm2 varchar2(30);

exec :pvm2:=’`date +%D-%T`’;

variable pvm3 varchar2(20);

exec :pvm3:=’$V3′;

exec prod_display(:pvm1, to_date(:pvm2, ‘MM/DD/RR-HH24:MI:SS’), :pvm3);

EOF

echo “Ended at `date +%D-%T`”

Linux/Unix, shell

Post navigation

Previous Post: Passing from Unix to PLSQL using bind variables
Next Post: How to know current SID

Related Posts

  • send attachment from unix-shell script Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • process id based files and processes Linux/Unix
  • oracle 10g on linux Linux/Unix
  • good linux notes Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • All About Trace Fils Oracle
  • Convert multiple rows to single column Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • runsql_once.ksh Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • Pending Transaction Neighbors Script Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme