| View previous topic :: View next topic |
| Author |
Message |
Scheben Newbie

Joined: 09 Apr 2002 Posts: 9 Location: Stuttgart,Germany
|
Posted: Wed Jan 29, 2003 12:36 pm Post subject: vdsdb - count rows? |
|
|
Hallo,
does somebody know the correct syntax to count the rows in a table via vdsdbb.dll?
thanks for your tips
chris |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Thu Jan 30, 2003 7:28 pm Post subject: |
|
|
Hi Chris,
You should be able to use something similar to:
| Code: |
db query,"SELECT COUNT(*) AS rows FROM vds_files;"
db fetchrow
info @db(get,rows)
|
|
|
| Back to top |
|
 |
|