报错信息: Parameter ‘@Name’ must be defined. 解决方案: 连接语句中添加:allowuservariables=True; 即可 配置解析: AllowUserVariables:是否允许 SQL 中出现用户变量,默认 false 相关文章: 2021-08-30 2022-03-07 2022-12-23 2022-12-23 2022-01-10 2022-12-23