dtexec

Is it possible to pass parameters to a .dtsx package on the command line?

痞子三分冷 提交于 2019-12-06 05:39:31
问题 I am currently executing an SSIS package (package.dtsx) from the command line using Dtexec . This is as simple as: dtexec /f Package.dtsx However, I have some parameters that I would like to pass to the package for it to use during execution. The documentation implies that this might be possible (i.e. the /Par parameter), but it is not clear. Is it possible to pass parameters to a .DTSX file using dtexec ? 回答1: Of course yes, you can assign values to variables using dtexec Syntax dtexec /f

Unit testing of SSIS Package with tSQLt

最后都变了- 提交于 2019-11-30 21:22:36
I really like tsqlt to test procs and functions, but really would like to be able to also execute SSIS packages and take advantage of FakeTable and AssertEquals to determine if it was the SSIS package did what it was supposed to. Has anyone explored this path, is it possible to call dtexec from with the transaction that tsqlt wraps your test in? I believe I can answer your question Andrey, although this is a little late in coming. But I believe that it will benefit others. We are using RedGate SQLTest(tSQLt) to do data quality testing as a part of our integration testing. For example to test

Unit testing of SSIS Package with tSQLt

折月煮酒 提交于 2019-11-30 17:08:06
问题 I really like tsqlt to test procs and functions, but really would like to be able to also execute SSIS packages and take advantage of FakeTable and AssertEquals to determine if it was the SSIS package did what it was supposed to. Has anyone explored this path, is it possible to call dtexec from with the transaction that tsqlt wraps your test in? 回答1: I believe I can answer your question Andrey, although this is a little late in coming. But I believe that it will benefit others. We are using