Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to find password change date for user Oracle
  • Find Plan Hash value fphv.sql Oracle
  • ORA-01220 Oracle
  • Rman Notes -1 Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Check Oracle installed products using one command Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • Recovering lost SYS password Oracle
  • Oracle Internal Good Websites 1 Oracle
  • SYSOPER Mystery Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • SQL_PROFILE – I explaination Oracle
  • proper cpu stats 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

  • Search and replace editor command in vi Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • Small sample shell program Linux/Unix
  • how to find VIP from ifconfig Linux/Unix
  • nfs mount command 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • scripts to take listener.log backup Linux/Unix
  • Physical Standby switchover with session active Oracle
  • How to change hostname in Linux Linux/Unix
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Export Import with QUERY Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Jai Shree Ram Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme