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

OLE DB source within a Data Flow Task brings no records after adding comment to sql query

$
0
0

Difficulties while creating a SSIS package using Visual Studio 2013 (version 4.5.50938)
I am using an OLE DB source within a Data Flow Task.
In the sql command, I have a simple query with two input parameters.
When I add a comment using "--" the OLE DB Source no longer brings any records.
It does not error out, just does not bring any records!
If I take out the comments made with "--" then I get records again!

Also, when I have comments like this /* Test comment */ it will give me the following error message:
Hresult: 0x80004005  Description: "Syntax error, permission violation, or other nonspecific error".

Am I missing a patch on VS2013 or what am I missing?
Please help


Paulino


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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