Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

OLE-DB destination generating view name as "[ISchema]"."[TableName]"

$
0
0

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


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>