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

Home -> Community -> Mailing Lists -> Oracle-L -> QUERY PROBLEM

QUERY PROBLEM

From: Harvinder Singh <Harvinder.Singh_at_MetraTech.com>
Date: Fri, 19 Oct 2001 09:16:03 -0700
Message-ID: <F001.003B0099.20011019093053@fatcity.com>

Hi,

We need to write a query like this:

declare
dd number;
begin
select * from t_acc where id_acc=dd;
end;
/

we r getting obvious error that INTO clause is missing........ but we only need to run the query and get the result back..... How can we accomplish this.........

Thanks
-Harvinder
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Harvinder Singh
  INET: Harvinder.Singh_at_MetraTech.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 Fri Oct 19 2001 - 11:16:03 CDT

Original text of this message

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