比如一个文件里面,有建表、插入、删除、触发器等等,可以像SQLPLUS一样执行吗?
https://github.com/xo/usql
usql is a universal command-line interface for PostgreSQL, MySQL, Oracle Database, SQLite3, Microsoft SQL
Server, and many other databases including NoSQL and non-relational databases!
```
$ usql oracle://user:pass@host/oracle.sid
```
#1
更多评论
<a href="/user/tablecell" title="@tablecell">@tablecell</a> 谢谢,我看看,最后我还是自己分割了SQL,一条条执行的
#2