> Never mind. I just realized (from rereading a previous newsgroup > posting) that the wildcards can only be used to replace values within > expressions (and not the table or column names). > > I use printf for these cases before preparing:
sprintf(buf, "INSERT INTO %s VALUES (?, DATETIME('NOW','LOCALTIME'), ?)", _name.data()); Daniel. ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ==============================================================================