um ... It's a file. You just check to see if the file exists. No sqlite calls involved.

Robert

----- Original Message ----- From: "YOGESH" <[EMAIL PROTECTED]>
To: <sqlite-users@sqlite.org>
Sent: Friday, August 26, 2005 12:50 PM
Subject: [sqlite] checking the database status


hello,
i am working on sqlite 2.8.16 and my requirement is when i use the sqlite_open function i want to display error message if the database is not present.I don't want a new database with the wrong name to be created each time i use the sqlite_open function. I checked for the error parameter in the sqlite_open function but each time it returns null.

so what is the solution for the above requirement.?

Thanks in advance

Regards
Yogesh

Reply via email to