Lines Matching full:sql
295 ** A global char* and an SQL function to access its current value
296 ** from within an SQL statement. This program used to use the
297 ** sqlite_exec_printf() API to substitue a string into an SQL statement.
435 #define MODE_Insert 5 /* Generate SQL "insert" statements */
489 ** Output the given string as a quoted string using SQL quoting conventions.
1061 const char *zSql, /* SQL to be evaluated */
1069 const char *zLeftover; /* Tail of unprocessed SQL */
1095 /* echo the sql statement if echo on */
1184 ** the table type ("index" or "table") and SQL to create the table.
1214 "INSERT INTO sqlite_master(type,name,tbl_name,rootpage,sql)"
1280 ** the contents of the query are output as SQL statements.
1312 ".dump ?TABLE? ... Dump the database in an SQL text format\n"
1336 " insert SQL insert statements for TABLE\n"
1346 ".read FILENAME Execute SQL in FILENAME\n"
1570 "SELECT name, type, sql FROM sqlite_master "
1571 "WHERE sql NOT NULL AND type=='table' AND name!='sqlite_sequence'", 0
1574 "SELECT name, type, sql FROM sqlite_master "
1578 "SELECT sql FROM sqlite_master "
1579 "WHERE sql NOT NULL AND type IN ('index','trigger','view')", 0
1586 "SELECT name, type, sql FROM sqlite_master "
1588 " AND sql NOT NULL", 0);
1590 "SELECT sql FROM sqlite_master "
1591 "WHERE sql NOT NULL"
1671 int nByte; /* Number of bytes in an SQL string */
1674 char *zSql; /* An SQL statement */
2038 " sql text\n"
2041 new_colv[0] = "sql";
2052 " sql text\n"
2055 new_colv[0] = "sql";
2062 "SELECT sql FROM "
2063 " (SELECT sql sql, type type, tbl_name tbl_name, name name"
2065 " SELECT sql, type, tbl_name, name FROM sqlite_temp_master) "
2066 "WHERE tbl_name LIKE shellstatic() AND type!='meta' AND sql NOTNULL "
2073 "SELECT sql FROM "
2074 " (SELECT sql sql, type type, tbl_name tbl_name, name name"
2076 " SELECT sql, type, tbl_name, name FROM sqlite_temp_master) "
2077 "WHERE type!='meta' AND sql NOTNULL AND name NOT LIKE 'sqlite_%'"
2244 ** Return TRUE if the line typed in is an SQL command terminator other
2245 ** than a semi-colon. The SQL Server style "go" command is understood
2255 return 1; /* SQL Server */
2261 ** Return true if zSql is a complete SQL statement. Return false if it
2375 if( !_all_whitespace(zSql) ) fprintf(stderr, "Error: incomplete SQL: %s\n", zSql);
2514 "Usage: %s [OPTIONS] FILENAME [SQL]\n"
2705 fprintf(stderr,"Error: unable to process SQL \"%s\"\n", zFirstCmd);
2719 "Enter SQL statements terminated with a \";\"\n",