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 error

Re: pl/sql error

From: Carel-Jan Engel <cjpengel.dbalert_at_xs4all.nl>
Date: Tue, 21 Mar 2006 22:25:31 +0100
Message-Id: <1142976331.7419.4.camel@dbalert199.dbalert.nl>


Hi ora_forum,

http://www.amazon.com/gp/product/0596009771/sr=8-1/qid=1142976086/ref=pd_bbs_1/002-9080897-3686451?%5Fencoding=UTF8

OR

http://www.amazon.com/gp/product/1590592174/qid=1142976127/sr=2-1/ref=pd_bbs_b_2_1/002-9080897-3686451?s=books&v=glance&n=283155

Best regards,

Carel-Jan Engel

===
If you think education is expensive, try ignorance. (Derek Bok) ===

On Tue, 2006-03-21 at 12:57 -0800, ora_forum wrote:

> Hi All: My procedure must list only tables where max(length
> (formula))>150. I have about 100 schemas and each has FIELDCUSTOM
> table. CREATE OR REPLACE PROCEDURE data_count is
> owner varchar2 (40);
> i number (10);
> BEGIN
> FOR n IN (SELECT owner FROM dba_tables WHERE table_name
> ='FIELDCUSTOM')
> LOOP
> SELECT max(length (formula)) INTO i FROM n.owner.FIELDCUSTOM;
> IF i>=150 THEN
> dbms_output.put_line (owner);
> ELSE
> null;
> END IF;
> END LOOP;
> END;
> Problem in line:
>
> SELECT max(length (formula)) INTO i FROM n.owner.FIELDCUSTOM
> error sql command not properly ended.
>
> Thanks.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 21 2006 - 15:25:31 CST

Original text of this message

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