|
|
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) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/40063909622c.html, оценка из 5, голосов 10
|