Luis Esteban Fajardo Bravo wrote:
my question is if there's a better solution for check if the database
is already created, something like a "describe" SQL Command (in
oracle) that help to know if the schema is already there on the database?
Luis,
You can use the pragma user_version
I'm not responding to your entire email, only the question far below.
On my employer's system, we use a query named "$CMD_ISDATABASECONSTRUCTED"
to check for whether the database is created. The query is simple:
"Analyze Categories;"
If the Categories table does not yet exist, the query
Luis Esteban Fajardo Bravo wrote:
Hi! we've using SQLite on our software since about a month ago, and
still i have some questions about how does sqlite works at all.
I have the following sourcecode to check if a database is already
created, if yes then just open, if not, open it and create
Hi! we've using SQLite on our software since about a month ago, and
still i have some questions about how does sqlite works at all.
I have the following sourcecode to check if a database is already
created, if yes then just open, if not, open it and create the
appropiate schema for the
4 matches
Mail list logo