sql 小东西

1.sqlplus -S shunde/shunde@FSSJ @E:\zhangxq\workdir\shunde\syncinfotocity\syncinfotocity\syncinfotocity\bin\release\sql\exInsert.sql

需要在sql的文件中添加 exit; 才能自动退出

--cmd窗体下执行  sql文件

 看下我这个恶心的bat---目的是一些认为编码不能完成的数据的插入工作。

echo exit;>>D:\SICTS-SynInfoToCiTy\Sql\exInsert.sql
sqlplus shunde/shunde@FSSJ @D:\SICTS-SynInfoToCiTy\Sql\exInsert.sql
del D:\SICTS-SynInfoToCiTy\Sql\exInsert.sql

2.dblink的建立

database的时候,其实只需要  ip:端口/database 就可以了。

3.a数据库建立了b的dblink,那么b不能建立a的dblink否则会有同步错误

4.

原文地址:https://www.cnblogs.com/xianqingzh/p/1773198.html