From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | DAVID KUCHARSKI <dave(at)iemco(dot)com>, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: update question |
Date: | 2002-10-07 18:56:57 |
Message-ID: | 200210071156.57848.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
David,
> OK I'm new at this, so please bear with me.
> I have a postgres table that gets imported from a text
> output of a database - uns_output.
> There is another table that was created by hand with
> our entire inventory - inventory. I would like to
> update a price column in the inventory table from the
> information in the price column of the output table.
> I'm quite sure it can be done, but I'm not really a
> trained dba and i this is beyond the scope of anything
> I've done in the past. Both tables are indexed on a
> common field called pik_num. Our inventory is only a
> small portion of the uns_output file so just importing
> ALL of that info would be WAY OVERKILL.
Questions:
1) Is there any way you can easily identify the relevant rows in the legacy
database and export only those?
2) If the answer to 1: is "no", then is the legacy database something you
could access directly using Perl::DBI, PHP or Python, and dynamically import
only the matching rows?
--
-Josh Berkus
Aglio Database Solutions
San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Thad Humphries | 2002-10-07 19:18:21 | I dont understand host connections |
Previous Message | DAVID KUCHARSKI | 2002-10-07 18:45:15 | update question |