USE [Configuration02_Def]
GO

DELETE [tblSystemSorts] where [nID] in (26,27, 28, 29, 30, 31, 31,32,33,34,35,36,37,39,40,41,42,43);

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemSorts] WHERE nID=1 AND nRow=1)
	INSERT [dbo].[tblSystemSorts] ([nID], [tCriteria], [nRow], [nDtsFieldID]) 
	VALUES (1, N'Alphabetic Ascending', 1, 22);

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemSorts] WHERE nID=2 AND nRow=1)
	INSERT [dbo].[tblSystemSorts] ([nID], [tCriteria], [nRow], [nDtsFieldID]) 
	VALUES (2, N'Earliest Last', 1, 9);

GO
	
	