USE [HelpDesk02_Def]
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=90)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (90, 50, N'Ticket Type', N'=', N'', N'AND', 0, 0, 0, 0, 1, NULL, 364);

IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=91)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (91, 51, N'Ticket Type', N'=', N'<Empty>', N'AND', 0, 0, 0, 0, 1, NULL, 364);

IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=92)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (92, 52, N'Ticket Type', N'=', N'1', N'AND', 0, 0, 0, 0, 1, NULL, 364);

IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=93)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (93, 53, N'Ticket Type', N'=', N'3', N'AND', 0, 0, 0, 0, 1, NULL, 364);

IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=94)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (94, 54, N'Ticket Type', N'=', N'4', N'AND', 0, 0, 0, 0, 1, NULL, 364);

