USE [Configuration02_Def]
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemQueries] WHERE nID=1 AND nRow=1)
	INSERT [dbo].[tblSystemQueries] ([nID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [nDtsFieldID], [nValueType]) 
	VALUES (1, N'Type', N'=', N'Import Rule', NULL, NULL, NULL, NULL, NULL, 1, 14, NULL);

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemQueries] WHERE nID=2 AND nRow=1)
	INSERT [dbo].[tblSystemQueries] ([nID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [nDtsFieldID], [nValueType]) 
	VALUES (2, N'Type', N'=', N'Setting', NULL, NULL, NULL, NULL, NULL, 1, 14, NULL);
	
GO




