Hi,
just 'discovered' that bindValue does not seem to work with CREATE TABLE 
statements. One could ask, why would anyone want to use
a bound value in a CREATE TABLE statement. Here my query:

> CREATE TEMP TABLE selectseriestable AS SELECT title FROM titlegroup,title 
> WHERE titlegroup.seriesID=(SELECT 
> seriesid FROM series WHERE series=:series AND version=:version) AND 
> titlegroup.titleID=title.titleID;";

Works fine when I replace :series and :version with concrete values. Now the 
question is... is this supposed to work? Is it a bug?
Or should it be ignored as some strange fringe use case and at best be 
documented?

Ok, there is also the remote possibility that I overlooked something or made a 
mistake. ;-)
The database I currently use is postgresql.

Guido


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to