Re: [GENERAL] data import - duplicates

2008-03-09 Thread brian
Webb Sprague wrote: I haven't tested but this is what I would do (uses arrays, which are handy when you need them), with the names changed to protect the innocent: begin; -- create a table with some duplicates in one of the columns (y is ck); wsprague=# select x, x%4 as y into temp fbar from g

Re: [GENERAL] data import - duplicates

2008-03-08 Thread Webb Sprague
I haven't tested but this is what I would do (uses arrays, which are handy when you need them), with the names changed to protect the innocent: begin; -- create a table with some duplicates in one of the columns (y is ck); wsprague=# select x, x%4 as y into temp fbar from generate_series(1,10) as

[GENERAL] data import - duplicates

2008-03-08 Thread brian
I have ~350K rows of sample data that has come to me in 64 text files (CSV) that I'd like to import into a new database. Each file can be considered its own category and is so named. That is, each file name will be inserted into a separate categories table. I'd like to relate each row to its ca

[GENERAL] Data Import

2001-01-24 Thread keith
Hi, Can anyone tell me where to find out information about going from 6.3 to 6.5?  I have used the "\copy name to name" command to save all of the data to a file.  I now want to import this data in 6.5.  Any suggestions?-KeithDo You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices.