|
ru.perl- RU.PERL ---------------------------------------------------------------------- From : Sergey Yudin 2:5020/400 22 Feb 2002 07:11:18 To : All Subject : DBD Oracle not all variables bound -------------------------------------------------------------------------------- Hello, All! Объясните плиз, почему первая часть кода срабатывает, а во вторая вылетает с ошибкой "DBD::Oracle::db prepare failed: ORA-01008: not all variables bound" =========Beginning of the citation============== $sqlORA = q{ insert into TESTAB values( ? ) }; $sthORA = $dbhORA->prepare ( $sqlORA ); $sthORA->bind_param( 1, "TEST_STRING" ); $sthORA->execute; $sthORA->finish; $sqlORA = q{ select F1 from TESTAB where F1 = ? }; $sthORA = $dbhORA->prepare ( $sqlORA ); $sthORA->bind_param( 1, 'TEST_STRING' ); $sthORA->execute; $sthORA->finish; =========The end of the citation================ With best regards, Sergey --- ifmail v.2.15dev5 * Origin: Demos online service (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/42541e5a5c2b.html, оценка из 5, голосов 10
|