Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Rajan, Pavithra
en Timo Klecker Von: Rajan, Pavithra [mailto:raj...@coned.com] Gesendet: Freitag, 26. März 2010 15:17 An: Timo Klecker; pgsql-general@postgresql.org Betreff: RE: [GENERAL] Need help on updating an entire column with a list of values, I have. Hello , Yes -I nee

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Rajan, Pavithra
mo Klecker; pgsql-general@postgresql.org Betreff: RE: [GENERAL] Need help on updating an entire column with a list of values, I have. Hello , Yes -I need to get the exact the same result as you had listed.Thanks. From: Timo Klecker [mailto:klec...@decoit

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Timo Klecker
n code was not tested! Mit freundlichen Grüßen Timo Klecker Von: Rajan, Pavithra [mailto:raj...@coned.com] Gesendet: Freitag, 26. März 2010 15:17 An: Timo Klecker; pgsql-general@postgresql.org Betreff: RE: [GENERAL] Need help on updating an entire column with a list of valu

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Grzegorz Jaśkiewicz
you can't really do any updates sensibly unless you know what the relation is. So, I kind of silently assume that you know that.

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Szymon Guz
W dniu 26 marca 2010 15:21 użytkownik Grzegorz Jaśkiewicz napisał: > create temporary table, insert your data, and than run update with join > against the table you wish to modify. And than drop your temp table. > simple. > > It would be a nice solution, assuming that we know anything about the c

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Timo Klecker
get tricky. Mit freundlichen Grüßen Timo Klecker Von: Rajan, Pavithra [mailto:raj...@coned.com] Gesendet: Freitag, 26. März 2010 15:17 An: Timo Klecker; pgsql-general@postgresql.org Betreff: RE: [GENERAL] Need help on updating an entire column with a list of values, I have. Hello

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Grzegorz Jaśkiewicz
create temporary table, insert your data, and than run update with join against the table you wish to modify. And than drop your temp table. simple.

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Thom Brown
On 26 March 2010 13:47, Rajan, Pavithra wrote: > Hello - I have this table with 90 rows, which contains 2 columns ,column A > (type 'numeric') and column B(type text) . Column 'A' is filled with a > constant number and column 'B' has an unique entry for each row. > > E.g.  A   

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Timo Klecker
Hello, what do you expect as Result? Something like this? E.g. A B (numeric)(text) 06959.0 002 15308.0 003 15968.0 004 18916.0 011 19961.0

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Rajan, Pavithra
Hello , Yes -I need to get the exact the same result as you had listed.Thanks. From: Timo Klecker [mailto:klec...@decoit.de] Sent: Friday, March 26, 2010 10:12 AM To: Rajan, Pavithra ; pgsql-general@postgresql.org Subject: AW: [GENERAL] Need help on updati

Re: [GENERAL] Need help on updating an entire column with a list of values, I have.

2010-03-26 Thread Szymon Guz
2010/3/26 Rajan, Pavithra > Hello - I have this table with 90 rows, which contains 2 columns ,column > A (type 'numeric') and column B(type text) . Column 'A' is filled with a > constant number and* column 'B' has an unique entry for each row*. > > E.g. A B >