摘要: --需要通过sqlplus / as sysdba 方式或登录sys/system管理用户更改 --1、命令登录方式 A--------------------------- SQL>sqlplus /nolog SQL>conn / as sysdba B--------------------------- SQL>sqlplus / as sysdba --查看用户密码默认管理方式 s... 阅读全文
posted @ 2017-05-24 09:17 GLing 阅读(4676) 评论(0) 推荐(0) 编辑
摘要: 1 --至少两个表有一定的关系条件 2 select * from tanme where 3 EXISTS (select * from tname2 where id=1 4 and tname2.con=tname.con); 5 --至少两个表有一定的关系条件 6 select * from tanme where 7 not EXISTS (select * from tname2 ... 阅读全文
posted @ 2017-05-24 09:12 GLing 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1 --查询月的最后一天 2 select to_char(last_day(sysdate),'dd') LastDay from dual; 3 4 to_char(t.START_DATE,'fmyyyy-MM-dd') -2013-1-1 5 to_char(t.START_DATE,'yyyy-MM-dd') -2013-01-01 6 to_date('2013-1-1... 阅读全文
posted @ 2017-05-24 09:10 GLing 阅读(2623) 评论(0) 推荐(0) 编辑
摘要: D:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\confserver.xml 添加 maxPostSize="0" URIEncoding="UTF-8" 将改为: <Connector port="8080" protoco 阅读全文
posted @ 2017-05-24 09:08 GLing 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1 1. normal 普通索引 2 2. unique 唯一索引 组合一起唯一 3 4 drop index CONFIG_INFO_U1; 5 create unique index CONFIG_INFO_U1 on TIW_CONFIG_INFO (config_code, var_code); 阅读全文
posted @ 2017-05-24 09:04 GLing 阅读(132) 评论(0) 推荐(0) 编辑