1. 插入数据前判断数据是否存在
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <Author>
-- Create date: <Create>
-- Description: <Description>
-- =============================================
alter TRIGGER CategoryExistTrigger
ON Product