Check programmatically if table exists in SQLite
#1

Hi, I know how to create a table if not exists but how can I pre-check programmatically if a table exists?

I'm using like this at the moment:
Код:
CREATE TABLE IF NOT EXISTS `TABLENAME` (`columns`)
which works perfect.
Reply


Messages In This Thread
Check programmatically if table exists in SQLite - by RyDeR` - 22.12.2010, 15:30
Re: Check programmatically if table exists in SQLite - by RyDeR` - 22.12.2010, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)