OUTPUT:
Master Table Content ID
1
2
Comment Child Table Content ID Comment ID
1 1
1 2
2 1
2 2
2 3
Reply Child Table Content ID Comment ID Reply ID
1 1 1
1 1 2
2 1 1
2 1 2
2 2 1
2 3 1
1. In first table - Content ID (int identity(1,1) primary key)
2. In Second table - Content ID (int primary key), Comment ID(int identity(1,1) primary key)
3. In Third table - Content ID (int primary key), Comment ID(int primary key) , Reply ID (int identity(1,1) primary key)
this is possible using Composite primary key, but i don't know to create a syntax using Composite primary key .... Please somebody help me out from this.......
Thanks & Regards
JENI