当前位置:编程学习 > C#/ASP.NET >>

这几步在VB怎么写?小妹谢了

分四步: 
1.delete from Packages where PackageId=(select PackageId from Packages_Products_Suppliers where ProductSupplierId=(select ProductSupplierId from Products_Suppliers where ProductId="aaa")); 

2.delete from Packages_Products_Suppliers where ProductSupplierId=(select ProductSupplierId from Products_Suppliers where ProductId="aaa"); 

3.delete from Products_Suppliers where ProductId="aaa" 

4.delete from Products where where ProductId="aaa" 

这种多表关联删除,只要倒序删除就可以! --------------------编程问答-------------------- 小妹泄了..... --------------------编程问答-------------------- sql语句 跟vb有什么关系? --------------------编程问答-------------------- sb --------------------编程问答-------------------- 这是SQL语句,和VB什么关系啊
补充:.NET技术 ,  VB.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,