PDA

View Full Version : How to check Table already exist or not



damodharan
27th May 2010, 13:53
Dear all,

Any one can help me how to check that table already exist or not

and

how to check that column value is exit or not

tbscope
27th May 2010, 13:55
You look into your kitchen or your living room. If you see a table, you know it exists. Or does it?

Please define "table"

damodharan
27th May 2010, 14:01
i am using qt in symbian , i created one table and inserted one intial value.
next time if i call that function it want to check that table already exist in DB or not
if exist it doesnot want to perform the operation.

tbscope
27th May 2010, 14:06
Ohh, you're talking about database tables?

QSqlDatabase::tables will give you a list of the tables in a database