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

Execute SQL Task Editor: The query failed to parse. Syntax error, permission violation, or other nonspecific error.

$
0
0

Environment: SQL Server 2008 R2
Code:

CREATE TABLE dbo.PkgAudit
  (
     PkgAuditID      INT IDENTITY(1, 1),
     PackageName     VARCHAR(100),
     LoadTime        DATETIME ,
     NumberofRecords VARCHAR(50),  
     Status1          VARCHAR(50), 
     Status2          VARCHAR(50),
  )

The following code is inserted in the SQL Task Execute Editor

INSERT INTO dbo.PkgAudit(PackageName
,LoadTime
,NumberofRecords
,Status1
,Status2
) VALUES(?,?,?,?,?)

Screen Shot (Parameter Mapping):


Problem:
an error Message occurred when I hit Parse Query Button in the Execute SQL Task Editor, "Execute SQL: Task Editor: The query failed to parse. Syntax error, permission violation, or other nonspecific error". How I could Solve this problem  



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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