"John Newby" <[EMAIL PROTECTED]> writes: > Does anyone know any reason why SQLite doesnt like tables called "Table" or > is this a standard SQL thing?
It's a reserved word, so if you really, Really, REALLY want to create a table of that name (you're making it confusing to read, so you really shouldn't), you can do it using either quotes or square brackets around the table name, as shown here: SQLite version 3.2.1 Enter ".help" for instructions sqlite> create table "TABLE" (i integer); sqlite> .schema CREATE TABLE "TABLE" (i integer); sqlite> .mode line sqlite> select * from sqlite_master; type = table name = TABLE tbl_name = TABLE rootpage = 2 sql = CREATE TABLE "TABLE" (i integer) sqlite> drop table "table"; sqlite> create table [TABLE] (i integer); sqlite> .schema CREATE TABLE [TABLE] (i integer); sqlite> select * from sqlite_master; type = table name = TABLE tbl_name = TABLE rootpage = 2 sql = CREATE TABLE [TABLE] (i integer) sqlite> Derrell