Skip site navigation (1) Skip section navigation (2)

Re: Using seq. objects with COPY FROM?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Using seq. objects with COPY FROM?
Date: 2006-11-20 14:15:35
Message-ID: 20061120141535.GD27960@a-kretschmer.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  Mon, dem 20.11.2006, um  9:00:01 -0500 mailte Shivin M folgendes:
> Hello,
> I was wondering whether you can make use of sequence objects along with COPY
> FROM command?
> 
> Can anyone tell me how this can be done?

copy name_table(name) from 'file.csv';


Hint: specify the columns...


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

In response to

pgsql-novice by date

Next:From: Mikael CarneholmDate: 2006-11-20 20:07:24
Subject: Re: CHECK constraint and trigger
Previous:From: Shivin MDate: 2006-11-20 14:00:01
Subject: Using seq. objects with COPY FROM?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group