Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: O9i: bind variable questions (special)

Re: O9i: bind variable questions (special)

From: Andreas Mosmann <mosmann_at_expires-30-04-2007.news-group.org>
Date: Tue, 03 Apr 2007 13:21:02 +0200
Message-ID: <1175599262.25@user.newsoffice.de>


sybrandb schrieb am 03.04.2007 in
<1175594979.118378.244430_at_n76g2000hsh.googlegroups.com>:

First: You are a great help!

> 1 in Sql*plus you would do that by declaring a variable
> variable p_deptno number;
> exec :p_deptno := 10
> select * from emp where deptno = :p_deptno
I got it if there is only 1 bind variable, 2 BW I have to try a little. Thanks.

> hardly use sql*worksheet, but assume it works in sql worksheet too.
> exec is short hand for
> begin <code> end;

> 2 Search on asktom.oracle.com for 'dynamic in list'
This is what I wanted to know. Many thanks. Well explained.

> Hth

Yes, it did (like your answers before)
> --
> Sybrand Bakker
> Senior Oracle DBA

Andreas Mosmann

-- 
wenn email, dann AndreasMosmann <bei> web <punkt> de
Received on Tue Apr 03 2007 - 06:21:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US