![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
wuguofei12345
记录工作中的点点滴滴,积跬步,至千里。
展开
-
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified1. 安装HA-Instant Client-v11.2.0.3.0.exe2. 安装PLSQL_Developer_cngr3. 将tnsnames.ora放到HA-Instant Client-v11.2.0.3原创 2017-03-26 13:55:04 · 2809 阅读 · 0 评论 -
plsql插入到数据库乱码问题
1.查看plsql中的编码设置:帮助--->支持信息--->Character Sets--->NLS_LANG 选项有没有值 2.我的刚开始也是没有值,如果没有值说明plsql没有加载到注册表的信息3.设置环境变量--->新建系统变量:变量名:NLS_LANG ,变量值:执行select userenv('language') from dual;查到的值原创 2017-03-26 14:23:45 · 558 阅读 · 0 评论 -
oracle 在插入数据库时自动生成主键
在插入数据时,希望主键时根据当前表的主键,自动生成:seq_【表明】.nextval。实例:aaa.seq_bbb.nextval。aaa为schema,bbb为表名原创 2017-03-26 14:29:42 · 4161 阅读 · 0 评论 -
oracle在原来自段值得基础上追加字符串
--在原来数据的基础上追加字符串--update table tset t.name = t.name || ',103.44.88.3'where t.id='160040000001'原创 2017-03-26 14:38:57 · 10182 阅读 · 0 评论 -
oracle 插入临时数据
with tt as ( select 1 as id, '901705119894261' as nums from dual union all select 2 as id, '901705119894338' as nums from dual )原创 2018-09-25 10:16:52 · 1312 阅读 · 0 评论