Re: Error in insert statement

From: "Relyea, Mike" <Mike(dot)Relyea(at)xerox(dot)com>
To: "bricklen" <bricklen(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error in insert statement
Date: 2009-07-16 20:09:01
Message-ID: AF7D9319B29A0242A33C3BF843BD3133087397CD@USA7061MS03.na.xerox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> From: bricklen [mailto:bricklen(at)gmail(dot)com]
> Sent: Thursday, July 16, 2009 4:05 PM
> To: Relyea, Mike
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Error in insert statement
>
> Try dropping the word "VALUES".
>
> eg.
> INSERT INTO "tblSpecs" ("CartridgeTypeID", "ColorID",
> "TestTypeID","ZoneID", "PaperID", "AttributeID", "Spec")
> SELECT "CartridgeTypeID", "ColorID", "TestTypeID","ZoneID",
> "PaperID", "AttributeID","Spec" from "tblTempSpecs";
>

I knew there had to be some bone-headed mistake I was making. That
worked of course. Thanks.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Relyea, Mike 2009-07-16 20:24:44 Re: Error in insert statement
Previous Message Jan-Peter Seifert 2009-07-16 20:07:59 Re: initdb --encoding=LATIN1 fails on Windows