On 19 May 2011, at 9:35am, Dev_lex wrote:

> I need to prepare the statement before to know the name of the table, but
> I'll find an other way..
>> 
>>> 
>>> I would like to do this :
>>> 
>>>   const char   *zSql = "INSERT INTO ?(ID, MyData) VALUES('1',?)";

Instead of using a const, use a C string, or select one of a few different 
consts.

But what your problem is really telling you is that those tables are actually 
all one big table.  The thing you think of as a table name is really just 
another column.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to