Главная страница


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)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 DBD Oracle not all variables bound   Sergey Yudin   22 Feb 2002 07:11:18 
 Re: DBD Oracle not all variables bound   Artem Chuprina   22 Feb 2002 17:43:50 
Архивное /ru.perl/42541e5a5c2b.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional