James's Blog
Saturday, January 14, 2006
Oracle: bind variables and ksh
#!/bin/ksh
function f
{
sqlplus -s <
login/passwd@db
var v1 varchar2(10);
var v2 varchar2(10);
exec :v1 := '$1';
exec :v2 := '$2';
exec pkg.prc(:v1, :v2);
EOF
}
f A B
posted by James Pei @
3:40 PM
0 Comments:
Post a Comment
<< Home
Previous Posts
Unix: Search text in subdirectories
Oracle: perf views
Unix: Rsync password authentication
UNIX: context switch
Oracle: transformation between v$lock and v$sessio...
Oracle: i/o wait events
Oracle: Wait events
Linux: Tune disk device
Sybase: SQL text auditing
Solaris: How to limit display of other user's proc...
0 Comments:
Post a Comment
<< Home