pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul251 <savetheweb@gmail.com>
To: pgsql-sql@postgresql.org
Subject: SQL Query Validate Records Multiple Tables - Help Needed
Date: 15 May 2007 06:17:26 -0700
Message-ID: <1179235046.748509.130630@y80g2000hsf.googlegroups.com> (raw)

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




view thread (3+ messages)  latest in thread

Message-ID: <1179235046.748509.130630@y80g2000hsf.googlegroups.com>
Permalink:  ../1179235046.748509.130630@y80g2000hsf.googlegroups.com/
Also on:    postgresql.org/message-id/1179235046.748509.130630@y80g2000hsf.googlegroups.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: savetheweb@gmail.com
  Subject: Re: SQL Query Validate Records Multiple Tables - Help Needed
  In-Reply-To: <1179235046.748509.130630@y80g2000hsf.googlegroups.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox