SQL Query Validate Records Multiple Tables - Help Needed

From: Paul251 <savetheweb(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: SQL Query Validate Records Multiple Tables - Help Needed
Date: 2007-05-15 13:17:26
Message-ID: 1179235046.748509.130630@y80g2000hsf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello...

I am trying to validate a asset number (10 Characters) from one table
to another table. Problem is they are in two different DB's and
haven't done that before?

Basically trying to take record 1 from Table 1/DB1 and validate it
against record 1 in Table 2/DB2 if the record doesn't exist in Table 2/
DB2 update the flag to N in Table 1/DB1..... Seems easy but been
working on it for about a week now no luck.... :-( I have the mostly
the same colums in both tables but Table 2/DB2 is the host table I
need to verify from....

Does anyone have any help or code to help me do this??

Thanks

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Sullivan 2007-05-15 13:36:22 Re: Serial number of a record
Previous Message Pavel Stehule 2007-05-15 12:03:01 Re: workday function