
数据库 PL/SQL
子建莫敌
热爱生活,拥抱技术
展开
-
PL/SQL 出现死锁解决办法
在PL/SQL中操作数据表时,长时间没反应,并且编辑某个表中数据时,出现“record is locked by another user”等情况,即出现了死锁。下面,简述解决办法:step1.PL/SQL查看锁:select t2.username, t2.sid, t2.serial#,t2.logon_time from v$locked_object t1,v$sessio原创 2015-08-26 17:03:03 · 9309 阅读 · 0 评论 -
oracle数据库ORA-00600:internalerrorcode,arguments:[keltnfy-ldmInit],[46],[1],[],[],[],[],[])
启动数据库时报告错误: ********************************************************************************************ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []原创 2015-11-03 15:48:55 · 2292 阅读 · 0 评论 -
Oracle 启动失败报错“TNS-12555: TNS:permission denied”解决办法
切换到root用户下,进入目录:/var/tmp[root@localhost tmp]# ll -a总用量 24drwxrwxrwx 3 root root 4096 10月 21 00:06 .drwxrwxrwx 25 root root 4096 2008-10-16 ..drwxrwxrwt 2 root root 4096 10月 22 04:19原创 2015-12-15 17:04:47 · 8111 阅读 · 0 评论 -
sql常用函数总结
一、字符转换函数1、ASCII()返回字符表达式最左端字符的ASCII 码值。在ASCII()函数中,纯数字的字符串可不用‘’括起来,但含其它字符的字符串必须用‘’括起来使用,否则会出错。2、CHAR()将ASCII 码转换为字符。如果没有输入0 ~ 255 之间的ASCII 码值,CHAR() 返回NULL 。3、LOWER()和UPPER()LOWER()将字符转载 2016-02-02 13:49:22 · 497 阅读 · 0 评论