Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Backup and Recovery Scenarios Oracle
  • nfs mount command Linux/Unix
  • How to check current redo log progress redo_progress.sql Oracle
  • scp with ssh2 Linux/Unix
  • Shuffle an array PHP/MYSQL/Wordpress
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • How to analyze statspack or AWR report. Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • get_vmstat_linux Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • FGA Part-I Oracle
  • Jai Shree Ram Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle

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

  • rm_backup_arch_file.ksh Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • shutdown linux Linux/Unix
  • Which environment is used by currently running process ( Very good) 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • on IBM-AIX for display Linux/Unix
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Single character replacement in Unix Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • oracle 11g RAC on vmware Oracle
  • metalink all dynamic view reference notes. Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme