iDenTiTy
Expert Member
Hi guys,
Ok this is a n00b question:

I have 2 tables:
a) Table_Seller
sellerID(PK)
sellerName
b) Table_Property
propertyID(PK)
property_address
sellerID(FK)
The problem I have is; When ever a seller registers, their details (name) is inserted into the system. But on the same page, their property_address (which was entered) needs to be inserted into the Table_property table.
How would the insert statement look like?
Considering that the FK is set to cascade on update/delete...?
I'm really stumped.
Any help would be greatly appreciated.

Ok this is a n00b question:
I have 2 tables:
a) Table_Seller
sellerID(PK)
sellerName
b) Table_Property
propertyID(PK)
property_address
sellerID(FK)
The problem I have is; When ever a seller registers, their details (name) is inserted into the system. But on the same page, their property_address (which was entered) needs to be inserted into the Table_property table.
How would the insert statement look like?
Considering that the FK is set to cascade on update/delete...?
I'm really stumped.
Any help would be greatly appreciated.