Lines Matching refs:zQuery
1545 ** Run zQuery. Use dump_callback() as the callback routine so that
1553 const char *zQuery
1557 rc = sqlite3_exec(p->db, zQuery, dump_callback, p, &zErr);
1560 int len = strlen30(zQuery);
1569 sqlite3_snprintf(len+100, zQ2, "%s ORDER BY rowid DESC", zQuery);
2023 char *zQuery = 0;
2032 zQuery = sqlite3_mprintf("SELECT * FROM \"%w\"", zTable);
2033 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2037 zQuery);
2058 zQuery);
2105 sqlite3_free(zQuery);
2106 zQuery = sqlite3_mprintf("SELECT * FROM \"%w\" ORDER BY rowid DESC;",
2108 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2118 sqlite3_free(zQuery);
2136 char *zQuery = 0;
2142 zQuery = sqlite3_mprintf("SELECT name, sql FROM sqlite_master"
2144 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2148 zQuery);
2168 sqlite3_free(zQuery);
2169 zQuery = sqlite3_mprintf("SELECT name, sql FROM sqlite_master"
2171 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2175 zQuery);
2196 sqlite3_free(zQuery);