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: A very very basic PL/SQL question from a newbie

Re: A very very basic PL/SQL question from a newbie

From: Thierry Poels <Thierry.Poels_at_vab.be>
Date: Wed, 15 Sep 1999 09:21:11 +0200
Message-ID: <7rnhf8$ik3$1@news1.skynet.be>


Hi,

"MIN" is an Oracle reserved word.

greetings,
Thierry Poels
Oracle DBA & HP-UX Sysadmin

<sxbktm_at_my-deja.com> wrote in message news:7rmksm$9jn$1_at_nnrp1.deja.com...
> All I am trying to do is declare two cursors and fetch numeric values
> into the cursor. Any time I do this, I get message saying
>
> Encountered the symbol "," when expecting one of the following: (.
>
>
> But when I am using varchars, I don't get this problem.
>
> DECLARE
> CURSOR weblog_cur IS
> SELECT hr,min,sec,filetype
> FROM weblogq ORDER BY sequence;
> CURSOR weblog_cur_dis IS
> SELECT dis_ftype from dis_ft ORDER BY sequence;
> v_hr weblogq.hr%TYPE;
> v_min weblogq.min%TYPE;
> v_sec weblogq.sec%TYPE;
> v_filetype weblogq.filetype%TYPE;
> v_disft dis_ftype%TYPE;
>
> -------------
>
> Could you help me resolve this issue. Thanks in advance.
>
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Received on Wed Sep 15 1999 - 02:21:11 CDT

Original text of this message

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