char szSqlCmd[SQL_LENGTH] = {0}; /* SQL缓存 */
sprintf(szSqlCmd, "select name from sqlite_master where type='table' order by name");
sqlite3_command cmd( *conn, szSqlCmd );
sqlite3_reader rdr = cmd.executereader();
// 循环读取所有数据
vector<string> vecStrTableName;
while ( rdr.read() )
{
vecStrTableName.push_back(rdr.getstring(0));
}