Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL script help (Forest & Trees)
Ok try this then.
DECLARE
MyCount NUMBER;
BEGIN
SELECT COUNT(*)
INTO MyCOunt FROM TableOfChoice;
--
Alan D. Mills
knez wrote in message <708355$cih_at_sjx-ixn9.ix.netcom.com>...
>Can someone give me a very small PL/SQL Script. I did receive one from Alan
>Mills ( Thanks a million Alan)
>BEGIN
> NULL;
>END;
>/
>It worked with SQL*Plus but I got a null error when going through Forest &
>Trees (Platinum). I would like to try another short script that won't pull
>back a null value. I would like to try a script that will do a row count
>using PL/SQL. Any help would be appreciated. I'm waiting on a PL/SQL
>reference book to be mailed.
>
Received on Tue Oct 20 1998 - 09:57:12 CDT