Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: database link, dynamic sql and stored procedure
"Marco Toci" <m.toci_at_amnesty.it> wrote in
news:97464bc39a60d0a873f37f6d09a5c4ea.49383_at_mygate.mailgate.org:
>
>>Here is a free clue, single quote marks are needed around strings when >>the are used within WHERE clauses; but you already knew that. Right?
>> I suggest that you build the complete UPDATE statement as a single >> VARCHAR2 variable and just display it via DBMS_OUTPUT without trying >> to EXECUTE IMMEDIATE. then cut & paste the results into SQL*Plus to >> see where the actual errors are.
go to http://asktom.oracle.com/
do a keyword search on "EXECUTE IMMEDIATE"
and try to learn from the examples in the various responses.
Received on Wed Jul 21 2004 - 19:19:48 CDT
![]() |
![]() |