Oracle的锁表与解锁 Oracle的锁表与解锁?? SELECT /*+ rule */ s.username, decode(l.type,‘TM‘,‘TABLE LOCK‘, ‘TX‘,‘ROW LOCK‘, NULL) LOCK_LEVEL, o.owner,o.object_name,o.object_type, s.sid,s.serial#,s....
分类:
数据库 时间:
2014-08-18 14:39:22
阅读次数:
280
一个项目用到的50个SQL语句
转载
说明:以下五十个语句都按照测试数据进行过测试,最好每次只单独运行一个语句。
问题及描述:
--1.学生表
Student(Sid,Sname,Sage,Ssex)--Sid
学生编号,Sname学生姓名,Sage
出生年月,Ssex 学生性别
--2.课程表
Course(Cid,Cname,Tid)--Cid --课程编号,Cname课...
分类:
数据库 时间:
2014-08-18 13:07:02
阅读次数:
336
1.检查自己的SID
SELECT sid FROM v$session WHERE sid = (SELECT sid FROM v$mystat WHERE rownum = 1);
2. 几个ID之间的关系
SELECT s.sid session_id, p.spid os_process_id, p.pid oracle_process_id
FROM v$pr...
分类:
数据库 时间:
2014-08-17 18:34:52
阅读次数:
229
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1052Problem DescriptionHere is a famous story in Chinese history."That was about 2300 years ago. Genera...
分类:
其他好文 时间:
2014-08-17 12:54:42
阅读次数:
284
--------------------------------------------------------------------------------------------------------一. 历史命令 history #查看历史命令 history -c #清空历史命令 ...
分类:
其他好文 时间:
2014-08-17 02:16:31
阅读次数:
262
题目链接:http://poj.org/problem?id=1789题目意思:给出 N 行,每行7个字符你,统计所有的 行 与 行 之间的差值(就是相同位置下字母不相同),一个位置不相同就为1,依次累加。问最终的差值最少是多少。 额.....题意我是没看懂啦= =......看懂之后,就转化为.....
分类:
其他好文 时间:
2014-08-15 23:43:19
阅读次数:
248
点击打开链接题目链接
Conquer a New Region
Time Limit: 5 Seconds Memory Limit: 32768 KB
The wheel of the history rolling forward, our king conquered a new region in a distant continent.
Ther...
分类:
其他好文 时间:
2014-08-15 10:47:18
阅读次数:
286
Sample error:SQL> startupORACLE instance started.Total System Global Area 285212672 bytesFixed Size 1321368 bytesVariable Size 153605736 bytesDatabase...
分类:
移动开发 时间:
2014-08-14 20:01:09
阅读次数:
359
图解: 1.Loction: 拼接参数时,应编码decodeURIComponent/encodeURIComponent()。 2.History:pushState+replaceState+onpopstate事件适合用来做无刷新页面切换; history.length===0用来判断...
分类:
编程语言 时间:
2014-08-14 19:50:49
阅读次数:
212
后退+刷新在C# Web程序中,如为页面按钮写返回上一页代码this.RegisterClientScriptBlock("E", "");其中,history.go(-2),要写为-2,因在按钮事件触发前,已刷新一次页面,所以应是-2。Response.Write("");此处也要写为“-2”。....
分类:
编程语言 时间:
2014-08-14 01:10:17
阅读次数:
304