oracle plsql question - multiple cursors in the same file

Все, что вы хотели знать о программизме, но боялись спросить.
Ответить
Аватара пользователя
Gaziz
Житель
Сообщения: 944
Зарегистрирован: 17 фев 2003, 15:57
Откуда: Almaty-Toronto-Vancouver-Seattle

oracle plsql question - multiple cursors in the same file

Сообщение Gaziz »

Привет,

Будут ли осложнения в таком коде если это все находится в одном файле?

DECLARE
CURSOR CUR1 IS [SKIP]
BEGIN
[SKIP]
END
/

DECLARE
CURSOR CUR1 IS [SKIP]
BEGIN
[SKIP]
END
/

DECLARE
CURSOR CUR1 IS [SKIP]
BEGIN
[SKIP]
END
/
anonim
Частый Гость
Сообщения: 13
Зарегистрирован: 18 мар 2008, 07:15

Re: oracle plsql question - multiple cursors in the same file

Сообщение anonim »

Did you get any error message?
did you run it?
You can define as many cursors as you wish.
Аватара пользователя
Gaziz
Житель
Сообщения: 944
Зарегистрирован: 17 фев 2003, 15:57
Откуда: Almaty-Toronto-Vancouver-Seattle

Re: oracle plsql question - multiple cursors in the same file

Сообщение Gaziz »

anonim писал(а):Did you get any error message?
did you run it?
You can define as many cursors as you wish.
thanks!

it runs ok - I am just asking for confirmations.

it will be automatically generated with hundreds of cursors with same name - I just want to make sure
no name clashes will happen...
Ответить