Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: too many values?
"tony" <meinhfxNOSPAM_at_hotmail.com> wrote in message
news:3ddba70f.7392436_at_news.dal.ca...
> Hi. I'd like to do a "select into" in pl/sql but I am getting a too
> many values error. How can I select only the first value that
> satisfies the query?
>
Add WHERE ROWNUM = 1 to the bottom of your query. Received on Wed Nov 20 2002 - 09:37:30 CST