服务上bat文件无法正常运行SQL

1.本地电脑正常使用的bat文件,放到服务器上无法使用。
2.已将SQL文件编码改成了UTF-8,bat文件可以运行了,但是跑不出数据,bat文件运行时出现
?拥?
Oracle Datebase 11g Enterprise Edirion Release 11.2.0.4.0-64bit Production With the Partitioning,real application Clusters, automatic storage management,OLAP,date mining and  Real Application Testing otions 断开
3.手动运行SQL文件可以跑出数据,但是bat运行结束后会出现结果表,但是内容为空。

img
4.感觉像是数据库没有运行sql脚本。

BAT文件,另存为 ANSI 格式试试。然后运行的时候记得用管理员身份执行。