On Sun, 26 Mar 2017 15:34:22 -0700, petern <peter.nichvolo...@gmail.com> wrote:
> Here is your suggestion with matched brackets and quotes and assuming > mytable has a column [tablename]: > > select eval(printf('create table %s (a,b,c)',tablename)) from mytables; I think you mean: eval(printf('create table %s (a,b,c)',(select tablename from mytables))); It's something that can be done by any host language. No need to implement that in SQL. -- Regards, Kees Nuyt _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users