Does anyone out there have any tips or ideas as to how one can execute a DTS package using Transact-SQL code? The idea is to have certain external data sets imported only if certain conditions are met. Such an example MIGHT look like (note: I've tried this, it doesn't work):
USE [Database Name]
GO
IF dbo.tablename.colname = 1
BEGIN
EXEC [packagename]
END
GO
Anyone?
Thank you
USE [Database Name]
GO
IF dbo.tablename.colname = 1
BEGIN
EXEC [packagename]
END
GO
Anyone?
Thank you