2007 Jul 12 7:39 AM
hi experts,
while joining two tables on ON COND.
in that COND the fields should be primary keys or any fields other than primary key we can mention .
please clear me
hi experts,
while joining two tables on ON COND.
in that COND the fields should be primary keys or any fields other than primary key we can mention .
please clear me
2007 Jul 12 7:48 AM
hi,
join should always be on a key field.
Please refer to this link for more info,
http://www.w3schools.com/sql/sql_join.asp
Regards,
Vinodh
2007 Jul 18 12:01 PM
Hi,
If your problem is solved, please assign points and close the thread.
Regards,
Vinodh
2007 Jul 18 12:05 PM
2007 Jul 18 12:06 PM
It can be a common feilds also but you cant assure the data integrity so we go for primary key.
BUT YOU CAN USE INNER JOIN ON COMMON FEILD ALSO.
regards,
Prabhu
2007 Jul 18 12:16 PM
hi
u join two tables using any common fields..
but if it is a key field then retrievel will be efficient,..
reward if useful
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |