Prepare for your Next Interview
|
Welcome to the Geeks Talk 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. |
This is a discussion on Relation between Parent Child within the Java forums, part of the Software Development category; I have a table ie already exist,& has a column 'cataegory'.Now i want to create a sub-category table that will be related to the first table.My problem is i can't ...
|
|||||||
|
|||
|
Relation between Parent Child
I have a table ie already exist,& has a column 'cataegory'.Now i want to create a sub-category table that will be related to the first table.My problem is i can't be able to map.
for Ex- first table columns are-----id:int,categoryname:String And it has a value 'java' under categoryname i want to insert corejava,Servlet,Jsp,Struts..as subcategory in subcategory column of the second table And that will related to java category of the first table. Pls any one can ans! Thanks |
| Sponsored Links |
|
|||
|
Re: Relation between Parent Child
create category id in the main table (first tbl) and in subtable create subcategoryid and categoryid (two columns), now easly u can relate these two table with categoryid
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find the Relation | Remasri | Brainteasers | 4 | 12-10-2008 08:40 AM |
| Basic relation between AP,AR, GL and PO | Geek_Guest | Oracle Apps | 3 | 09-09-2008 03:37 PM |
| Parent Child Table Relationship | srivastava.sujata | Oracle | 4 | 04-03-2008 10:32 AM |
| Relation between QTP and VB Script | chhaya_rani | QTP | 1 | 01-04-2008 05:38 PM |
| Populate parent child hierarchy using Informatica | Geek_Guest | Data Warehousing | 0 | 07-08-2007 08:19 AM |