我在 xsql 文件中使用 sql 查询,但出现 ORA-00911: invalid character 错误。相同的查询直接在数据库上运行。
我的 index.xsql:
<?xml version="1.0" encoding="ISO-8859-2" ?>
<page connection="labor" xmlns:xsql="urn:oracle-xsql">
<xsql:query>
SELECT id, iata_dep, iata_arr FROM route JOIN flight ON route.route_id=flight.route_id
</xsql:query>
</page>
我的浏览器结果:
<?xml version="1.0" encoding="ISO-8859-2" ?>
<page connection="labor" xmlns:xsql="urn:oracle-xsql">
<xsql:query>
SELECT id, iata_dep, iata_arr FROM route JOIN flight ON route.route_id=flight.route_id
</xsql:query>
</page>
人品问题出在哪里?谢谢,