Composite Foreign Key
Table ABC
{
id,
.....,
AssetId
}
Table Asset
{
AssetID,
AssetTypeID,
......,
......,
}
I need to use foreign key constraint on AssetId field of ABC based on
AssetId field of Asset table where AssetType is equal to certain Value of AssetTypeId
How this can be done????
Seek u'r help.
Bijgupt
__________________
Bijgupt
|