ORA-02069: global_names parameter must be set to TRUE for this operation
2010-09-20 15:14
633 查看
今天在做数据测试时,需要在本地库调用DBLINK将数据插入到另一个库中,其中ID列用到了自增序列,后来执行的时候提示ORA-02069: global_names parameter must be set to TRUE for this operation 错误,通过网上搜索大体意思是global_names 要设置成true,在oracle安装中默认是FALSE的,可是变成true在DBLINK使用的时候会变得不方便,两个SID需要都设置成相同的名字,两台数据库在客户那都跑了好几年了,并且很多程序都使用到,一旦变更SID会改很多地方,这种方式肯定不能采用。最后发现,原来在数据插入远程数据库时,序列不能调用本地序列,需要同样调用远程的序列。
原SQL:insert into testtig@link173(id,uname,uage) values (z_seq.nextval,'z',22);
改后SQL:insert into testtig@link173(id,uname,uage) values (z_seq.nextval@link173,'z',22);
插入OK了。
原SQL:insert into testtig@link173(id,uname,uage) values (z_seq.nextval,'z',22);
改后SQL:insert into testtig@link173(id,uname,uage) values (z_seq.nextval@link173,'z',22);
插入OK了。
相关文章推荐
- ORA-02069: global_names parameter must be set to TRUE for this operation
- 关于:ORA-02069: global_names parameter must be set to TRUE for this operation
- 解决ORA-02069: global_names parameter must be set to TRUE for this operation 问题
- 关于:ORA-02069: global_names parameter must be set to TRUE for this operation
- 利用数据库链做DML操作时报ORA-02069: global_names parameter must be set to TRUE for this operation
- ORA-02069: global_names parameter must be set to TRUE for this operation
- 关于:ORA-02069: global_names parameter must be set to TRUE for this operation
- Oracle存储过程报错ORA-02069: global_names parameter must be set to TRUE for this operation
- Error: ORA-16698: LOG_ARCHIVE_DEST_n parameter set for object to be added
- ORA-02069: 此操作的global_names参数必须设置为TRUE
- Name for parameter binding must not be null or empty! On JDKs < 8, you need to use @Param for named
- DateTimePicker 控件出现 "You must be in ShowCheckbox mode to set to this date" 的错误
- could not be set to a 'string' value. You must set this property to a non-null value of type
- DateTimePicker 控件出现 "You must be in ShowCheckbox mode to set to this date" 的错误
- “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for target
- ora-02069 此操作的Global_names必须设置为True
- DateTimePicker 控件出现 "You must be in ShowCheckbox mode to set to this date" 的错误
- [Graphics] UIColor created with component values far outside the expected range, Set a breakpoint on UIColorBreakForOutOfRangeColorComponents to debug. This message will only be logged once.
- Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets w
- 使用asp.net urlrewrite 出现 Session state can only be used when enableSessionState is set to true 错误