=?iso-8859-1?q?Aldrey=20Galindo?= <[EMAIL PROTECTED]> writes: > db=# create table teste (desc varchar(50)); > ERROR: parser: parse error at or near "desc" at > character 21
DESC is a reserved keyword, per the SQL specification. If you really really want to name your column or table "desc", you can double-quote the word. But I'd suggest picking another name. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match