USE [Users_mdb]
GO

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

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


