ya sure
its in my office desktop.
i will bring n post here on monday.
thanks.
Till Monday then
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
The point is that you don't do something through java if it can done through sql which is faster. So try to provide a better explanation about what you are trying to do.
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
I have two database's
1st database has 21 columns and 20140 records
2nd database has 27 columns and 61603 records.
i need to compare each and every cell of 1st database to each n every cell of 2nd database and the output should be the rows where two cells are matching from both database's.
plz help me to gt java source code for tht
I have better idea, you provide coding what you done so far. Explain where you facing difficulties and somebody may try to help you.
Until then I believe there is nothing we have to discus. Prove you are worth the time we spend on your problem....
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
I have two database's
1st database has 21 columns and 20140 records
2nd database has 27 columns and 61603 records.
i need to compare each and every cell of 1st database to each n every cell of 2nd database and the output should be the rows where two cells are matching from both database's.
plz help me to gt java source code for tht
No one can answer that question and do you know why?
Because even if we wanted to hand you the code, which we won't, how are we supposed to compare 2 databases when we don't know the database names, hosts, ports, usernames, passwords, the table names and the column names?
Haven't you said in your previous posts the you have the code and that you will post it next Monday?
Do you know how many Mondays have past?
We would have helped you if you asked specific questions. Do you know how many examples are in this forum on how to connect to a database using java code?
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
You don't run 2 queries; as proposed in previous posts you run ONE query where you make the comparisons with sql and return only the data you want.
Then you put the results in a List and send that List to a JSP where you display the data.
It is very bad idea to display data inside servlets.
Read the tutorial about MVC that is at the top of the JSP forum.
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
hey!! i do not have d code but do plz forward me the code by 3rd August if u get...its very urgent
Here is " d code "
PS: We work at our own convenience and your urgency doesn't mean nothing to us. Sorry...
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
And most important: START your own thread. What you posted has nothing to do with with thread. You didn't specify your problem. Even if we wanted to help what code are we suppose to "sent"?
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448