× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



To just report:

SELECT DISTINCT ITEM1 AS I1, ITEM2 AS I2, ITEM3 AS I3, OTHER1 AS O1 FROM FILE1 A UNION SELECT
DISTINCT ITEEM1 AS I1, ITEEM2 AS I2, ITEEM3 AS I3, OTHER1 AS O1 FROM FILE2 B
ORDER BY I1, I2, I3



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of paultherrien@xxxxxxxxxxxxxxxxxx
Sent: Wednesday, June 26, 2013 7:32 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Merge of 2 similar files

Field names need to be unique.

Paul

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Hoteltravelfundotcom
Sent: Wednesday, June 26, 2013 8:14 AM
To: Midrange Systems Technical Discussion
Subject: Re: Merge of 2 similar files

I want to merge the data from 2 PF but having the same field names in the new file.

file1

ITEM1
ITEM2
ITEM3
OTHER1

FIle2

ITEEM1
ITEEM2
ITEEM3
OTHER1


NEW FILE:

ITEM1
ITEM1 (*** was called ITEEM1)
ITEM2
ITEM2 (** Was called ITEEM2)
ITEM3
ITEM3 (** WAS called ITEEM3)
OTHER1
OTHER1




On Tue, Jun 25, 2013 at 5:09 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 6/25/2013 4:32 PM, Hoteltravelfundotcom wrote:
Scott, thanks I can try that, but won't it just give me all the records?
I am wanting to sort of rename fields to be 1 name.

It would be easier if you posted your DDS, some example data and the
end result that you want to achieve.
--buck

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.