![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Number Grouped Rows in File | RacerX | UNIX for Dummies Questions & Answers | 2 | 03-03-2008 03:36 PM |
| print selected rows with awk | tonet | Shell Programming and Scripting | 6 | 09-27-2007 07:23 AM |
| Ability to store number of rows | scabral | Shell Programming and Scripting | 2 | 03-29-2007 01:25 AM |
| flags to suppress column output, # of rows selected in db2 sql in UNIX | jerardfjay | Shell Programming and Scripting | 1 | 11-02-2005 06:48 AM |
| Cutting rows after a selected point | nhatch | Shell Programming and Scripting | 4 | 09-05-2003 11:14 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
return number of rows to PERL selected in SQL
Hi all, i am doing a perl script to read from a db. I am able to retrieve the rows, but i am unable to return the number of rows selected. i tried Code:
$selectedrows = $sth->numrows; i got the error msg: Can't locate object method "numrows" via package "DBI::st" i changed it to Code:
$selectedrows = $sth->rows; i get 0, when i have results returned. Any advise, thanks. Last edited by new2ss; 04-05-2006 at 05:22 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|