Is it not possible to have table name as a parameter For example have the SQL something like:
Delete From Where ID =
.. I get error:
[Execute SQL Task] Error: Executing the query "Delete From Where ID = " failed with the following error: "Must declare the table variable "@P1".". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Table Name as a parameter on Execute SQL Task?
njg
Instead using a file connection as the source, use a variable (pointing to the one you set from the Script Task).
Maggie - Ebersold
lowster11
Have a variable - Update it dynamically with the TableName and form the query.
Use that variable in SQL Task.
Thanks,
Loonysan
chiefmsb
What did I do wrong