ВУЗ:
Составители:
Рубрика:
134
Результат
ID = 15, ACTOR = Hasso von Hugo
ID = 16, ACTOR = Robert Fraisse
ID = 17, ACTOR = Josh Hartnett
ID = 18, ACTOR = Scarlett Johansson
ID = 19, ACTOR = Aaron Eckhart
ID = 1, ACTOR = Сергей Маковецкий
ID = 2, ACTOR = Марат Башаров
ID = 3, ACTOR = Владислав Галкин
ID = 4, ACTOR = Андрей Краско
ID = 5, ACTOR = Matthew Edison
ID = 6, ACTOR = Paul Brogren
ID = 7, ACTOR = Waune Robson
ID = 8, ACTOR = Murrau Abraham
ID = 9, ACTOR = Elva Baskin
ID = 10, ACTOR = Константин Хабенский
ID = 11, ACTOR = Владимир Меньшов
ID = 12, ACTOR = Валерий Золотухин
ID = 13, ACTOR = Мария Порошина
ID = 20, ACTOR = Gerard Depardieu
ID = 21, ACTOR = Guillaune Canet
ID = 22, ACTOR = Ines Sastre
ID = 23, ACTOR = Мультгерои
2.5.3. Вызов из PHP хранимой процедуры
Приведенный ниже пример демонстрирует создание и вызов хра-
нимой процедуры:
<?php
// Подключаемся к базе данных
$c=OCILogon("scott", "tiger", "orcl");
if ( ! $c ) {
echo "Unable to connect: " . var_dump( OCIEr-
ror() );
die();
}
// Создаем хранимую процедуру
$s = OCIParse($c, "create procedure proc1(p1 IN
number, p2 OUT number) as " .
"begin" .
" p2 := p1 + 10;" .
134 Результат ID = 15, ACTOR = Hasso von Hugo ID = 16, ACTOR = Robert Fraisse ID = 17, ACTOR = Josh Hartnett ID = 18, ACTOR = Scarlett Johansson ID = 19, ACTOR = Aaron Eckhart ID = 1, ACTOR = Сергей Маковецкий ID = 2, ACTOR = Марат Башаров ID = 3, ACTOR = Владислав Галкин ID = 4, ACTOR = Андрей Краско ID = 5, ACTOR = Matthew Edison ID = 6, ACTOR = Paul Brogren ID = 7, ACTOR = Waune Robson ID = 8, ACTOR = Murrau Abraham ID = 9, ACTOR = Elva Baskin ID = 10, ACTOR = Константин Хабенский ID = 11, ACTOR = Владимир Меньшов ID = 12, ACTOR = Валерий Золотухин ID = 13, ACTOR = Мария Порошина ID = 20, ACTOR = Gerard Depardieu ID = 21, ACTOR = Guillaune Canet ID = 22, ACTOR = Ines Sastre ID = 23, ACTOR = Мультгерои 2.5.3. Вызов из PHP хранимой процедуры Приведенный ниже пример демонстрирует создание и вызов хра- нимой процедуры:
Страницы
- « первая
- ‹ предыдущая
- …
- 132
- 133
- 134
- 135
- 136
- …
- следующая ›
- последняя »