Hi there,
I've tried to execute the following comand during a data transformation services job and intended to add a new column named ComanyName to an existing table named CompanyTotals_tbl with a value of "ACM" in that field:
ALTER TABLE CompanyTotals_tbl ADD companyName AS 'ACM'
In that same DTS package - I later try to update a line I just inserted with a value of the next CompanyName ('BBS' for example) but receive the following error message:
---------------------------
Package Error
---------------------------
Error Source : Microsoft OLE DB Provider for SQL Server
Error Description : Deferred prepare could not be completed.
Statement(s) could not be prepared.
Invalid object name 'companyTotals_tbl'.
---------------------------
OK
---------------------------
Is this happening because of the way I wrote my alter table command?
Thanks for all your help,
vionca
I've tried to execute the following comand during a data transformation services job and intended to add a new column named ComanyName to an existing table named CompanyTotals_tbl with a value of "ACM" in that field:
ALTER TABLE CompanyTotals_tbl ADD companyName AS 'ACM'
In that same DTS package - I later try to update a line I just inserted with a value of the next CompanyName ('BBS' for example) but receive the following error message:
---------------------------
Package Error
---------------------------
Error Source : Microsoft OLE DB Provider for SQL Server
Error Description : Deferred prepare could not be completed.
Statement(s) could not be prepared.
Invalid object name 'companyTotals_tbl'.
---------------------------
OK
---------------------------
Is this happening because of the way I wrote my alter table command?
Thanks for all your help,
vionca