Results 1 to 1 of 1

Thread: How do i retrieve the Native Sql typename / enum-set values ?

  1. #1
    Join Date
    Nov 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question How do i retrieve the Native Sql typename / enum-set values ?

    I would like to know the native MySql type for a QSqlField.

    Mainly, if there is a MySql SET or ENUM type in the database, I would like to retrieve the set of options. (e.g. ENUM ('yes','No','Maybe') )

    Is this possibly using qt ?

    Thanks in advanced.
    Last edited by Jaap; 8th November 2009 at 12:14.

Similar Threads

  1. SQL changed values stored?
    By jmqt in forum Newbie
    Replies: 1
    Last Post: 15th June 2009, 18:27

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.