) WHERE college_userid IN ( SELECT college_userid FROM #college_student_info) 链接服务器"VERYEAST_MAIN_MYSQL_CONN"的 OLE DB 访问接口 "MSDASQL" 返回了消息 "键列信息不足或不正确。更新影响到多行。"。 消息 7345,级别 16,状态 1,第 207 行 链接
) WHERE college_userid IN(SELECT college_userid FROM #college_student_info)
链接服务器"veryeast_main_mysql_conn"的 ole db 访问接口 "msdasql" 返回了消息 "键列信息不足或不正确。更新影响到多行。"。
消息 7345,香港空间,网站空间,级别 16,状态 1,第 207 行
链接服务器 "veryeast_main_mysql_conn" 的 ole db 访问接口 "msdasql" 无法从表 "select college_userid from college_student_information " 删除数据。更新操作不满足架构要求。
原因很简单 表college_student_information 有多条college_userid相同的情况
代码改为
) WHERE college_userid IN(SELECT college_userid FROM #college_student_info)
这样就不会出错了。
,服务器空间
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号