Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - List unique records and combine from two tables

Reply
 
Old 03-14-2009   #1 (permalink)
S N


 
 

List unique records and combine from two tables

I have two tables with 2 fields identical in both the tables. Other fields
are different in the two tables.
I want to list the unique records from the common field of one table and
also list records from the identical field in the other table (only those
records which are not available in the identical field of first table).

Please advise.

S N



My System SpecsSystem Spec
Old 03-14-2009   #2 (permalink)
Bob Barrows


 
 

Re: List unique records and combine from two tables

S N wrote:
Quote:

> I have two tables with 2 fields identical in both the tables. Other
> fields are different in the two tables.
> I want to list the unique records from the common field of one table
> and also list records from the identical field in the other table
> (only those records which are not available in the identical field of
> first table).
> Please advise.
>
Only if you promise not to multipost in the future :-)
Already answered in .inetserver.asp.db, which was the perfect place for the
question. :-)

--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


My System SpecsSystem Spec
Old 03-14-2009   #3 (permalink)
S N


 
 

Re: List unique records and combine from two tables

Thanks for the help.
Shall not multipost.


"Bob Barrows" <reb01501@xxxxxx> wrote in message
news:%23Srhg6KpJHA.3572@xxxxxx
Quote:

>S N wrote:
Quote:

>> I have two tables with 2 fields identical in both the tables. Other
>> fields are different in the two tables.
>> I want to list the unique records from the common field of one table
>> and also list records from the identical field in the other table
>> (only those records which are not available in the identical field of
>> first table).
>> Please advise.
>>
> Only if you promise not to multipost in the future :-)
> Already answered in .inetserver.asp.db, which was the perfect place for
> the question. :-)
>
> --
> Microsoft MVP - ASP/ASP.NET - 2004-2007
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
No MX or A records for .... Vista mail
First 400 Records in SQL Statement VB Script
How to write records to SQL Server 2005 tables PowerShell
tables in wlm Live Mail
Get-unique PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46