I've tried a number of different approaches but am still unable to obtain the schema of a table from an attached database.
For example, assuming the my main database (M) and my attached database (A) have tables of the same name, I can get the schema of a table T from M by just a "PRAGMA table_info(T)" statement. To get the schema of a table T from A I've tried "PRAGMA table_info('A.T') " among other things without any success. The result to sqlite3_exec is 0 but the call back function is not invoked. Any help would be appreciated. Thanks, Marc