![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| Concatenation File1: PID Name City 10 Larry LA 11 Man NY 15 Lan SF File 2: PID No ZIP 15 7271 90032 10 8281 9547 22 9213 4321 Question: I want to concatenate the data of these two files.Like if File1 has PID same as File 2 PID the data should be concatenated like this.... eg Condition having same PID should be concatenated)O/P(Should be like this) PID Name City No ZIP 10 Larry LA 8281 9547 15 Lan SF 7271 90032 How should be the java code for this? |
| |
| |||
| I would import this data into two tables in a database, then just run queries joining the PID's ![]() __________________ Day Cares | Golf Courses | Disc Golf Courses | Campgrounds | Ice Rinks | Paintball Fields | Dentists | Plastic Surgeons | Aging Jokes Catholic Churches | Lutheran Churches | Methodist Churches | Episcopal Churches | Clean Jokes |
| ||||
| Need to read both file and compair.. But i think converting to array, sorting and then applying some logic and make things easier.. have to know if its a one to one relation or 1-many?? __________________ Free Programming help http://www.itgalary.com Free World Tourism http://maps.itgalary.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |