USE [HelpDesk02_Def]
GO

DELETE FROM [tblDtsTables] WHERE [tTableName]='tblTask';
	

IF NOT EXISTS (SELECT * FROM [tblDtsTables] WHERE [nID]=17)
	INSERT [HelpDesk02_Def].[dbo].[tblDtsTables] ([nID], [tTableName], [tTableNameTemp], [tBeforeSubmitFunc], [tSubmitFunc], 
		[tCopyRecordsFunc], [tRevisionFunc], [tDefaultTableName], [nRelationshipType], [nDsType], [nSubType]) 
		VALUES (17, N'tblTask', NULL, NULL, NULL, NULL, NULL, NULL, 2, 32, 110);

	
GO

