SQL SERVER
文章平均质量分 75
aspgreener
电脑,购物,旅游,美食,网游,文学,影视,游泳,娱乐,IT技术,IT,music,电影,音乐,读书,流行音乐
展开
-
实现千万级数据分页的存储过程!
google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write("");/**//* 经测试,在 14483461 条记录中查询第 100000 页,每页 10 条记录按升序和降序第一次时间均转载 2007-08-01 09:21:00 · 525 阅读 · 0 评论 -
读取Sql Server2000,Sql Server2005中的表结构的相关信息
Sql Server2005的: SELECT TableName=CASE WHEN C.column_id=1 THEN O.name ELSE N END, TableDesc=ISNULL(CASE WHEN C.column_id=1 THEN PTB.[value] END,N), Column_id=C.column_id, ColumnName=C.na转载 2009-10-27 16:23:00 · 459 阅读 · 0 评论 -
获取SqlServer2005表结构(字段,主键,外键,递增,描述)
1.获取表的基本字段属性--获取SqlServer中表结构 SELECT syscolumns.name,systypes.name,syscolumns.isnullable,syscolumns.length FROM syscolumns, systypes WHERE syscolumns.xusertype = systypes.xusertype AND sys转载 2008-06-23 09:24:00 · 503 阅读 · 0 评论 -
SQL Server的Datediff和Access的Datediff的区别
SQL Server的Datediff和Access的Datediff的区别 google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write("");What function does: return转载 2007-10-23 21:51:00 · 1000 阅读 · 0 评论 -
Jax的大数据量分页
google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write("");利用存储过程实现大数据量的分页。创建人:理想国(http://www.utoper.com)--welsham;来源技术:转载 2007-09-11 13:50:00 · 653 阅读 · 0 评论 -
sql server 2005 可视化管理工具
google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write(""); sql server 2005 默认安装是没有可视化管理工具的,习惯了使用sql server 2000 的企原创 2007-09-01 10:14:00 · 3691 阅读 · 0 评论 -
asp.net 如何防止Sql注入攻击
google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write(""); Sql 注入是很常见的攻击方式,也是最有效的方式,稍有疏忽,就会留给攻击者可乘之机 。 今天测试的原创 2007-05-14 15:57:00 · 1211 阅读 · 0 评论 -
将指定日期所在月份的所有日期按照周次输出
google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write(""); /**//*****************************************************原创 2007-04-29 15:17:00 · 695 阅读 · 0 评论 -
一组MSSQL千万数量级分页存储过程
google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write("");效果演示:http://www.cn5135.com/_App/Enterprise/QueryResult.aspx转载 2007-08-04 13:31:00 · 737 阅读 · 0 评论 -
SQL Server中查询所有数据库、所有表、字段的Sql语句
google_ad_client = "pub-2048279401139630";google_ad_slot = "8856771542";google_ad_width = 728;google_ad_height = 90;document.write(""); 当我们建立Sql Server 连接之后,可以通过如下语句得到当前Sql server中所有的数据的名称: google_ad_原创 2007-08-01 09:38:00 · 2472 阅读 · 0 评论 -
看懂SqlServer查询计划
对于SqlServer的优化来说,可能优化查询是很常见的事情。关于数据库的优化,本身也是一个涉及面比较的广的话题,本文只谈优化查询时如何看懂SqlServer查询计划。由于本人对SqlServer的认识有限,如有错误,也恳请您在发现后及时批评指正。首先,打开【SQL Server Management Studio】,输入一个查询语句看看SqlServer是如何显示查询计划转载 2011-06-27 13:59:00 · 531 阅读 · 0 评论