I have a little issue with a badly designed table where there is a relationship (many 2 many)!
I did a quick google and microsoft say you have to create a 'junction' table.
So i have to create another table that contains the column as a unique key and then crosslink them so they are one to many via the 'junction' table.
Why if logically the concept of many to many is fine, yet physically you can't directly make that definition?
It also doesn't mention anything about how you populate the 'junction' table?
And how do inserts work? If I insert into one of the 'real' tables, does it add a record in the 'junction' table?
Advice is appreciated.
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Download
I did a quick google and microsoft say you have to create a 'junction' table.
So i have to create another table that contains the column as a unique key and then crosslink them so they are one to many via the 'junction' table.
Why if logically the concept of many to many is fine, yet physically you can't directly make that definition?
It also doesn't mention anything about how you populate the 'junction' table?
And how do inserts work? If I insert into one of the 'real' tables, does it add a record in the 'junction' table?
Advice is appreciated.
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Download