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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: PL/SQL Cursor

RE: PL/SQL Cursor

From: Ken Janusz <ken.janusz_at_sufsys.com>
Date: Tue, 18 Dec 2001 08:16:33 -0800
Message-ID: <F001.003DEE18.20011218065519@fatcity.com>

Bind variables. In Feuerstein's book in some of the code he shows the use of the bind variable and in some he doesn't. What is the rule on when to use a bind variable? The book doesn't discuss this.

Thanks,
Ken

 -----Original Message-----
Sent: Monday, December 17, 2001 3:41 PM

To:     Multiple recipients of list ORACLE-L
Subject:        Re: PL/SQL Cursor

It's all in the docs. Read on DBMS_SQL package. As for the error, you are getting, it is exactly, what it says: you didn't bind variables (DBMS_SQL.BIND_VARIABLE(...)).

Igor Neyman, OCP DBA
ineyman_at_perceptron.com

> I have written an explicit cursor - declare . . . begin . . . end. When I
> try to run it I get this error:
>
> ORA-01008: not all variables bound
>
> I'm new to cursors, so I need some basic help.
>
> Thanks,
> Ken Janusz, CPIM
> Database Conversion Lead
> Sufficient System, Inc.
> Minneapolis, MN
>
>
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ken Janusz
> INET: ken.janusz_at_sufsys.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Igor Neyman
  INET: ineyman_at_perceptron.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ken Janusz
  INET: ken.janusz_at_sufsys.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Dec 18 2001 - 10:16:33 CST

Original text of this message

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