日期:2014-05-17 浏览次数:20414 次
ALTER TRIGGER [dbo].[tenants_update]
ON [dbo].[T_Tenants]
FOR update
AS
BEGIN
declare @_type nvarchar(10)
SELECT @_type=[Type] from inserted
UPDATE T_Quartewatercostdetail
SET [Type] = @_type
UPDATE T_Quarteelectricitycostdetail
SET [Type] = @_type
UPDATE T_Quartefeescostdetail
SET [Type] = @_type
UPDATE T_Quartecost
SET [Type] = @_type
END