标签: bash shell unix sqlplus
我有一个名为abc.txt的文本文件,其中包含几个插入查询,我想读取此文件并使用Shell脚本运行这些查询。
我目前的做法是:
1.reading the file line by line 2.connecting to sqlplus using username and password 3.running the command
我的要求是,我想进行一次连接,我不想进行多次连接。
如何通过一个连接运行插入查询?