Sign in to follow this  
Followers 0
autoitxp

Records count Sqlite

2 posts in this topic

Hi

Is there any way to reocrds count for Sqlite database ?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I've been using this

_SQLite_SQLiteExe($db_name, "SELECT COUNT() FROM database;", $raw_output)

if @error=0 then, Number($raw_output) is record count. However duplicate primary keys will return zero.

Edited by picaxe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0