Results 1 to 4 of 4

Thread: How to check Table already exist or not

  1. #1
    Join Date
    Feb 2010
    Posts
    23
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Question How to check Table already exist or not

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to check Table already exist or not

    You look into your kitchen or your living room. If you see a table, you know it exists. Or does it?

    Please define "table"

  3. #3
    Join Date
    Feb 2010
    Posts
    23
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Default Re: How to check Table already exist or not

    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.

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to check Table already exist or not

    Ohh, you're talking about database tables?

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

Similar Threads

  1. Check if a table exists in a mysql database
    By graciano in forum Qt Programming
    Replies: 8
    Last Post: 5th November 2009, 02:44
  2. How to check if g++ exist in system.
    By sawerset in forum Newbie
    Replies: 2
    Last Post: 1st December 2008, 09:58
  3. Application does not exist when I debug
    By learning_qt in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 23rd September 2008, 16:26
  4. qtdemo doesn't exist...
    By xyzt in forum Newbie
    Replies: 2
    Last Post: 24th March 2008, 05:37
  5. XML Database: eXist
    By Lykurg in forum Qt Programming
    Replies: 3
    Last Post: 6th March 2007, 23:22

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.