Hi,
I want to create a procedure to delete Production.Product table by ProductID in AdvetureWorks Database.
How to do it? Because Table Product's too many relationship :(
THANKS!
Hi,
I want to create a procedure to delete Production.Product table by ProductID in AdvetureWorks Database.
How to do it? Because Table Product's too many relationship :(
THANKS!
If there are FK's enforced, then you have to make sure you first delete all child records, before you can delete the product.
I've tried your way but don't delete data. As I know, must use Cascade Delete.
I tried but still not done.
Because Product table of the database Adventure Works has too many relationships!
Has anyone done this yet?
Database system: SQL SERVER 2008
Hi,
I want to create a procedure to delete Production.Product table by ProductID in AdvetureWorks Database.
How to do it? Because Table Product's too many relationship :(
THANKS!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.