Re: newbie sql question... - Mailing list pgsql-general

From Jean-Christian Imbeault
Subject Re: newbie sql question...
Date
Msg-id 3EDAB555.8030304@mega-bucks.co.jp
Whole thread Raw
In response to newbie sql question...  (Jason Ziegler <jasonzig@mac.com>)
List pgsql-general
Wow, talk about delayed mail ... this was posted and answered a week ago
:) Guess this email had a stopover somewhere on the Internet or has been
wandering aimlessly on for a bit before deciding to make it's way to the
mailing list ...

Jean-Christian Imbeault

Jason Ziegler wrote:
> Hello folks, I'm new to this list, and have been putting up with mysql
> for too long, so please forgive me for asking such a newbie question as
> this:
>
> I have a query that works in mysql:
> "INSERT INTO table1 ( id, column2, column3 ) VALUES ( '1', 'text stuff',
> 'text stuff' ), ( '2', 'more text', 'even more text')"
>
> When I try this in postgresql, it won't work:
> "INSERT INTO table1 ( 'id', 'column2', 'column3' ) VALUES ( '1', 'text
> stuff', 'text stuff' ), ( '2', 'more text', 'even more text')"
>
> I think I'm getting the syntax wrong for stringing together multiple
> value sets or something.
> Can anyone point me in the correct direction of how to do this properly,
> please?
>
> Thanks,
>
> jz
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>


--

Jean-Christian Imbeault


pgsql-general by date:

Previous
From: "Al-Karim Bhamani (LCL)"
Date:
Subject: French Characters
Next
From: Jean-Christian Imbeault
Date:
Subject: Re: sql datatypes storage