Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Dec 05, 2011
Dec 12, 2011 23:50:56
How to use this query in
*****combine two database******
online is a common table in both database
SELECT registration.online.price, shopping_cart.online.name FROM registration.online, shopping_cart.online WHERE registration.online.id = 1 AND shopping_cart.online.id = registration.online.id;
how to define two database name in this
Joined: Oct 27, 2005
Dec 13, 2011 00:04:00
You just need one of the two databases to connect to. The database prefix inside the query will take care of the rest.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
Joined: Nov 07, 2011
Dec 13, 2011 11:50:28
Do not use Business logic inside
, it should always go through Service classes.
It is sorta covered in the
JavaRanch Style Guide
subject: servlet queries
Passing value from one servlet to another
why aliase in servlet or jsp
Problem getting servlets working
Definitions and usage of getContext()
Please help for Context root
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014