如上
解决方案 »
- 请教关于commit和rollback的几个问题。
- 创建存储过程出错。。。。。
- 请教达人:往数据库中要插入1亿多条数据用JAVA程序实现可行吗?
- 对数值型字段写 insert into table1 values ('1')合法吗?
- 請教一SQL高手進
- 请教,用什么软件能监视到客户端操作数据库的情况?
- 请教:新安装的Oracle8i,scott/tiger不能登陆,怎么回事啊?
- 安装时的错误(急!急!急!)
- 谁知道oracle的默认管理员的密码??????
- 长生天啊,oracle怎么对我这么残忍
- 请教这条SQL如何写成存储过程(PL/SQL)
- 关于锁表的问题?(for update nowait)
i number;
begin
select count(*) into i from dual@DBLINK;
--DBLINK没问题
exception
when others then
--DBLINK有问题
...
end;
insert into table1@db_link1 values(value1,value2)
如果Db_link1未处于活动状态,则会影响原来的数据库入库
if db_link1 没有问题 then
insert into table1@db_link1 values(value1,value2)
end
确保原来的数据库能正常入库