Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: for loop mit select - Firebird -> Oracle
DA Morgan wrote:
> Werner Hofmann wrote:
>> Hallo, >> >> in a firebird-procedure I habe the statement: >> >> for select TITLE in DOCUMENTS d where d.STATUS = 'online' do >> begin >> path = 'd:\'||vUserDir||'\'||TITLE; >> end >> >> >> this I need as a PSQL statement in an oracle-procedure. >> How does the code In oracle looks like? >> >> Regards, Werner
Hallo Morgan,
don't worry about the sense of my example. The real code is doing some important things, but I wanted to know, how to make such a firebird-loop with oracle. And how I can access the values of one row in the loop body.
Can you show me please how to access the values in rec? Is rec.TITLE correct?
Excuse me for my stupid questions, but I am new in oracle, and I am stil waiting for my PL/SQL-Book. I think oracle is not intuitive, in no way, its an academic solution for db management. Very complex in the ideas and solutions behind them. Received on Tue May 17 2005 - 16:36:35 CDT
![]() |
![]() |