SQL Server提供了强大而完备的锁机制来帮助实现数据库系统的并发性和高性能。用户既能使用SQL Server的缺省设置也可以在select 语句中使用“加锁选项”来实现预期的效果。 本文介绍了SELECT语句中的各项“加锁选项”以及相应的功能说明。 功能说明: NOLOCK(不加锁)...
分类:
数据库 时间:
2014-06-19 08:42:15
阅读次数:
190
artdialog 异步加载一个页面需求:例如现在好多网站的登录或注册 都是点击弹出一个层出来 然后在上面登录、注册这个登录可能在网站的每个页面都会有,但是我们又不能在每个页面都这一段html加载出来不显示,到需要用的时候,在给shou出来,这样做于情于理都说!不!!过!!!去!!!!!!恰好以前接...
分类:
其他好文 时间:
2014-06-19 06:30:42
阅读次数:
433
"; // mysql_select_db("_blog"); $query_test="select *from _blog_"; $result_q=mysql_query($query_test); ...
分类:
Web程序 时间:
2014-06-19 00:10:32
阅读次数:
285
SQL> select * from v$version;BANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edit...
分类:
数据库 时间:
2014-06-19 00:04:22
阅读次数:
456
有时候我们展示给用户的表单中的checkbox,radio,selec等标签的一些项是默认选中的。比方:当用户改动文章的时候,假设相应的栏目为下拉框的话,那么它的默认选中值应该是原来的栏目位置。能够使用jquery中的val()方法给select、checkbox、radio设置默认选中项。对于mu...
分类:
其他好文 时间:
2014-06-17 00:35:36
阅读次数:
290
Problem DescriptionTeacher HU and his 40 students were trapped by the brigands. To show their power, the head of the brigands want to select one peopl...
分类:
其他好文 时间:
2014-06-17 00:28:32
阅读次数:
362
StringBuilder sql=new StringBuilder("select * from T ");List wheres=new List();if(adsf!=0){ wheres.Add(" pId="+a);}if(...){wheres.Add(" pName="+b);}//...
分类:
其他好文 时间:
2014-06-16 23:57:44
阅读次数:
274
declare @f int =5select floor(@f*0.22)-- 直接可显示结果create table demo(id int identity(1,1),id1 int)select * from demoinsert into demo(id1)select 2 union a...
分类:
其他好文 时间:
2014-06-16 13:30:21
阅读次数:
168
System.Diagnostics.Process.Start的妙用:文件夹打开时自动选中一个文件,比如自动选中此目录下的指定文件方法:Process.Start("Explorer","/select,"+filePath);我们经常会遇到在Winform或是WPF中点击链接或按钮打开某个指定的...
分类:
其他好文 时间:
2014-06-16 13:23:08
阅读次数:
337