Mondeo
Well-known member
Im using MS SQL 2000 with enterprise manager
I have a customers table called high_customer, it has a primary key called ID
I have an invoices table called high_invoices, it has no primary keys but it does have a column for customer ID.
I want to set it so if a customer is deleted from the customers table, any invoices with that customerID are deleted from the invoices table.
Do I need to specify a constraint? If so how do I do it in enterprise manager.
Thanks
I have a customers table called high_customer, it has a primary key called ID
I have an invoices table called high_invoices, it has no primary keys but it does have a column for customer ID.
I want to set it so if a customer is deleted from the customers table, any invoices with that customerID are deleted from the invoices table.
Do I need to specify a constraint? If so how do I do it in enterprise manager.
Thanks