Hey Guys,
Just wondering if anyone knows how to assign a "Type ID" to a SQLite Table.
What I need is a way to identify the type of table in the database but I can't use the tables name as that will be user defined at runtime.
Here's the ideas I have so far...
1. Create a secondary table that lists the Table Types and Names.
2. When reading a table, read the column names to see if they match a known pattern.
Any other suggestions would be great!
Thanks
Just wondering if anyone knows how to assign a "Type ID" to a SQLite Table.
What I need is a way to identify the type of table in the database but I can't use the tables name as that will be user defined at runtime.
Here's the ideas I have so far...
1. Create a secondary table that lists the Table Types and Names.
2. When reading a table, read the column names to see if they match a known pattern.
Any other suggestions would be great!
Thanks
Comment