【发布时间】:2013-04-29 21:39:50
【问题描述】:
我在 MySQL 中运行了一条 SQL 语句,并已成功执行。我现在想将其作为存储过程运行,最终将通过 Python 执行(我最初使用它从网站上抓取)。
SQL 语句运行,但存储过程出现以下错误:
ERROR 1314: LOAD XML is not allowed in stored procedures
SQL 语句基本是:
Load XML Local Infile 'myfile.XML' into table MyTable rows identified by '<DATAROW>'
我是否缺少 MySQL 的一些基本知识?
【问题讨论】:
标签: mysql xml stored-procedures