[Qt-interest] database exec sql

Markus Franke Franke.M at sebakmt.com
Tue Aug 31 08:48:16 CEST 2010


Dear penglian,

you try to execute a database administration command.
However QSqlQuery is only intended for "DML (data manipulation language) 
statements".

Please have also a look at the docs at [1].

Best regards,
Markus

[1] http://doc.qt.nokia.com/4.6/qsqlquery.html#details

qt-interest-bounces at trolltech.com schrieb am 31.08.2010 04:02:08:

> Hi All:
>      Please see the below picture, I don?t know why can not execute sql 
> but open is true?
> And I execute sql in terminal, all are ok.
> Thanks
> Ken
> 
> 
> 
> [Bild entfernt] 
> 
> 
> [Bild entfernt] 
> 
> 
>  _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



"Disclaimer: This message is intended only for the use of the individual 
or entity to
which it is addressed and may contain information which is privileged, 
confidential, proprietary,
or exempt from disclosure under applicable law. If you are not the 
intended recipient or the person
responsible for delivering the message to the intended recipient, you are 
strictly prohibited from
disclosing, distributing, copying, or in any way using this message. If 
you have received this 
communication in error, please notify the sender and destroy and delete 
any copies you may have
received."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100831/40781954/attachment.html 


More information about the Qt-interest-old mailing list