USE [Configuration02_Def]
GO
IF NOT EXISTS( SELECT * FROM [dbo].[tblSystemCustomQueries] WHERE [nID]=1 )
	INSERT [dbo].[tblSystemCustomQueries] ([nID], [tName], [tCaption], [nParentTableID], [fFieldsChanged], [nDefaultSort], [nDefaultLayout]) 
	VALUES (1, N'Import$Rules', N'Import Rules', 6, 2, 1, 1);

IF NOT EXISTS( SELECT * FROM [dbo].[tblSystemCustomQueries] WHERE [nID]=2 )
	INSERT [dbo].[tblSystemCustomQueries] ([nID], [tName], [tCaption], [nParentTableID], [fFieldsChanged], [nDefaultSort], [nDefaultLayout]) 
	VALUES (2, N'Settings', N'Settings', 6, 2, 2, 3);
	
	
GO

