Parameter ‘@Name’ must be defined.
连接语句中添加:allowuservariables=True; 即可
AllowUserVariables:是否允许 SQL 中出现用户变量,默认 false