Possibly a stupid question but I'm trying to do an attach and then query via
a single sqlite3_exec() statement.

 

Is the following a valid use?

 

sqlite3_exec(pDB,"ATTACH dbpath as universe;select * from othertable where
identifier IN (select identifier from
universe.identifierlist)",cbfn,NULL,NULL);

 

Thanks in advance

 

Mike

Reply via email to