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


ru.perl

 
 - RU.PERL ----------------------------------------------------------------------
 From : Oleg Bakiev                          2:5061/109.58  28 Apr 2000  11:01:39
 To : Serge Cherpatyuk
 Subject : DBI (rows)
 -------------------------------------------------------------------------------- 
 
 
 28 Apr 00 01:48, Serge Cherpatyuk wrote to All:
 
  SC> Одним местом чувствую, что после $sth->execute где-то
  SC> должно сидеть количество возвращаемых запросом строк
  SC> и не могу это "где-то" найти. И perldoc DBI мне не
  SC> помогает, может тут помогут?
 
 Помогает-помогает.
 === Cut ===
 For a non-select statement, execute returns the number of rows affected (if
 known). If no rows were affected then execute returns ``0E0'' which Perl will
 treat as 0 but will regard as true. Note that it is not an error for no rows to 
 be affected by a statement. If the number of rows affected is not known then
 execute returns -1.
 
 === Cut ===
 
 Щательнее надо быть.
 
 WBR, Oleg
 --- GoldED/W32 3.0.1
  * Origin:  >>> Можно я лягу? <<< (2:5061/109.58)
 
 

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

 Тема:    Автор:    Дата:  
 DBI (rows)   Serge Cherpatyuk   27 Apr 2000 11:47:51 
 Re: DBI (rows)   Alex Lazarev   28 Apr 2000 07:45:38 
 DBI (rows)   Oleg Bakiev   28 Apr 2000 11:01:39 
 DBI (rows)   alexander smishlajev   30 Apr 2000 12:11:44 
Архивное /ru.perl/40063909622c.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional