gpt4 book ai didi

sql - SQL 命令需要一个名为 "@SessionID"的参数,该参数在参数映射中找不到

转载 作者:行者123 更新时间:2023-12-04 20:01:35 26 4
gpt4 key购买 nike

我正在尝试通过 SSIS 执行存储过程

Error: 0xC0207014 at PO Header, OLE DB Source [59]: The SQL command requires a parameter named "@SessionID", which is not found in the parameter mapping.



enter image description here

但是正如您在下面看到的,变量已填充,我已经映射了参数。
发生什么了?

enter image description here
  • MS SQL 2014
  • MS Visual Studio 2015
  • 最佳答案

    根据屏幕截图,您已将变量映射到参数。然后尝试删除并重新创建 OLE DB 源。

  • The SQL command requires a parameter, which is not found in the parameter mapping

  • 如果它仍然抛出错误,则使用表达式而不是参数。您可以引用以下链接了解更多信息:
  • Unable to pass a variable value to a stored procedure in ssis
  • 关于sql - SQL 命令需要一个名为 "@SessionID"的参数,该参数在参数映射中找不到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56323720/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com