Reputation: 21
I am using Transfer SQL Server Objects Task in SSIS to create a package for copying procedures from prod to dev.
[Transfer SQL Server Objects Task] Error: Execution failed with the following error: "Invalid column name XYZ"
Any help on the above error will be appreciated.
Raghu
SQL Server Objects Task properties Screenshots
Upvotes: 2
Views: 1559
Reputation: 37313
The error is thrown because you are trying to copy a stored procedure that is using the column XYZ
from a Table, and this table is not copied or not found in the destination database.
Also From the screenshots, you are not copying Tables from the Source Database. ('CopyAllTables` property is False) , So make sure you choose all related tables to the stored procedure to be copied to the destination database
Upvotes: 1