摘要:
CREATE PROCEDURE [dbo].[Delete_Part] @CategoryId int AS --DELETE [Category] -- WHERE ID=@CategoryId --DELETE [Category] -- WHERE Higher=@CategoryId declare @taba TABLE([tabid] [int] NOT NULL) insert @taba (tabid) select ID from ZN_Part WHERE Higher=@CategoryId declare @id intwhile(exists(select top 阅读全文