• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






simplelil

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 ··· 8 下一页

2017年5月15日

winxp 关闭445端口
摘要: 关闭445端口的方法方法很多,但是我比较推荐以下这种方法: 修改注册表,添加一个键值 Hive: HKEY_LOCAL_MACHINE Key: System\Controlset\Services\NetBT\Parameters Name: SMBDeviceEnabled Type: REG_ 阅读全文
posted @ 2017-05-15 10:17 simplelil 阅读(986) 评论(0) 推荐(0)
 

2017年5月10日

ORACLE 按逗号拆分字符串为多行
摘要: with t as (select '1,2,3,10,11,12' a from dual) select substr(a, decode(level - 1, 0, 0, instr(a, ',', 1, level - 1)) + 1, (decode(level, regexp_cou... 阅读全文
posted @ 2017-05-10 11:12 simplelil 阅读(11792) 评论(0) 推荐(0)
 

2017年4月28日

ORACLE 正则表达式
摘要: 字符族: [[:alpha:]] 任何字母。 [[:digit:]] 任何数字。 [[:alnum:]] 任何字母和数字。 [[:space:]] 任何白字符。 [[:upper:]] 任何大写字母。 [[:lower:]] 任何小写字母。 [[:punct:]] 任何标点符号。 [[:xdigit 阅读全文
posted @ 2017-04-28 10:24 simplelil 阅读(192) 评论(0) 推荐(0)
 

2017年4月24日

查询用户权限
摘要: select (case when ((select count(*) from dba_users where username = '&Username') > 0) then dbms_metadata.get_ddl('USER', '&Username') else to_clob(' -- Note: U... 阅读全文
posted @ 2017-04-24 16:05 simplelil 阅读(247) 评论(0) 推荐(0)
 

2017年4月21日

嵌套表排序
摘要: declare cc TEMP_OO; dd TEMP_TT; QQ TEMP_TT; CURSOR A IS select A, B from table(QQ) order by 2; begin DD := TEMP_TT(); FOR I IN 1 .. 5 LOOP cc := TEMP_OO(I, 6 - I); DD.EXTEND; ... 阅读全文
posted @ 2017-04-21 10:10 simplelil 阅读(127) 评论(0) 推荐(0)
 

2017年4月5日

ORACLE 查询sql和存储性能思路
摘要: 1.确定session id 如果是存储过程,在程序开头设置客户端标识。并根据标识获取session id。 DBMS_SESSION.set_identifier('XXX'); select * from v$session s where s.CLIENT_IDENTIFIER = 'XXX' 阅读全文
posted @ 2017-04-05 17:44 simplelil 阅读(214) 评论(0) 推荐(0)
 

2017年4月1日

ORACLE 加大日志文件
摘要: --新建临时日志文件alter database add logfile group 4 ('/u01/app/oracle/oradata/orcl/redo04.log') size 10m;alter database add logfile group 5 ('/u01/app/oracle 阅读全文
posted @ 2017-04-01 19:12 simplelil 阅读(256) 评论(0) 推荐(0)
 

2017年3月31日

ORACLE 服务器验证
摘要: 位于$ORACLE_HOME/network/admin/sqlnet.oraSQLNET.AUTHENTICATION_SERVICES=none|all|ntsnone:关闭操作系统认证,只能密码认证all:用于linux/unix平台,关闭本机密码文件认证,采用操作系统认证nts:用于wind 阅读全文
posted @ 2017-03-31 09:34 simplelil 阅读(137) 评论(0) 推荐(0)
 

2017年3月30日

oracle 锁查询
摘要: --v$lock中 id1 在锁模式是 TX 时保存的是 实物id 的前2段SELECT * FROM (SELECT s.SID, TRUNC(id1 / power(2, 16)) rbs, bitand(id1, to_number('ffff', 'xxxx')) + 0 slot, id2 阅读全文
posted @ 2017-03-30 18:13 simplelil 阅读(145) 评论(0) 推荐(0)
 
ORACLE 本session产生的redo
摘要: select * from v$statname a ,v$mystat bwhere a.STATISTIC# = b.STATISTIC# and a.name = 'redo size'; 阅读全文
posted @ 2017-03-30 18:11 simplelil 阅读(120) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 ··· 8 下一页