我有我的执行SQL任务以下INSERT语句在SSIS:SSIS执行SQL任务的SQL命令问题
INSERT INTO dbo.SSISLogTest
(NodeID, BusinessDate, StartDate, StopDate, StepName, RecordCount, Message, Status, UserID)
VALUES (?,?,?,?,?,?,?,?,?)
当我运行它的任务中提供的参数在执行罚款,并在表中插入一条记录。
当运行该程序包,此步骤失败,错误如下:
"[Execute SQL Task] Error: Executing the query "INSERT INTO dbo.SSISLogTest ..." failed with the following error: "Parameter name is unrecognized.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. "
我说你有没有在SSIS参数设置的正确。你能详细说明你是如何做到的吗?将参数通过变量传递到包中很麻烦,如果不以特定的方式完成,可能会出错。 – mwan