I am using an OLE-DB destination to insert data into a view (The view has an insert trigger and has worked for quite a while).
I received an error that the object did not exist.
I turned on SQL Profiler and discovered that the schema and view name were being generated incorrectly as follows:
exec sp_executesql N'INSERT INTO "[IProjects]"."[ClientSurveyProjects]" ("ProjectTypeID"...
I pasted this into SSMS and, after removing the "
exec sp_executesql N'INSERT INTO [IProjects].[ClientSurveyProjects] ("ProjectTypeID"
It runs fine.
It also works fine if I remove the []
exec sp_executesql N'INSERT INTO "IProjects"."ClientSurveyProjects" ("ProjectTypeID"
Has anyone seen this issue before?
Dave Frommer - BI Architect - Independent