Hi,
The question is in the title is clear, I guess.
What/how is the query to check if an attribute in a table existed or not?
I am doing with SQLite.
Thanks in advance.
Hi,
The question is in the title is clear, I guess.
What/how is the query to check if an attribute in a table existed or not?
I am doing with SQLite.
Thanks in advance.
You can interrogate the database with PRAGMA table_info(tablename);
. That will return the list of column names, their type, nullable or not, and default value.