摘要:
在js中,可以使用typeof获取变量或函数的类型,如下: 1 2 3 19 20 21 22 23 24 25 26 hello world27 28 29 30 View Code效果图: 阅读全文
摘要:
有这样一个查询的差异:两张表如下:语句在这里: 1 create table #AA 2 ( 3 ID int, 4 Name nvarchar(50) 5 ) 6 7 insert into #AA 8 select 1,'项目1' 9 union all10 select 2,'项目2... 阅读全文
摘要:
在工作中经常看到有人使用with as,查询很顺畅,也很快,很好奇,在网上也有不少资料,看了大神的文章,也练习一下。首先给出两位位大神文章的链接,介绍十分详细:http://www.cnblogs.com/fygh/archive/2011/08/31/2160266.html另一位大神的文章:ht... 阅读全文
摘要:
有这样一个需求:临时表sql:create table #AA( ID int, Name nvarchar(20))insert #AAselect 1,'苏州/上海/温州'union allselect 2,'南京'union allselect 3,'北京/连云港'方法: 1 with... 阅读全文
摘要:
sql中for xml path的用法。http://www.cnblogs.com/yanghaibo/archive/2010/06/04/1751405.html 阅读全文
摘要:
1 2 3 4 5 20 21 22 23 24 25 26 27 28 View Code上面是前台代码,下面是后台代码. 1 public partial class WebForm1 : System.Web.UI.P... 阅读全文
摘要:
http://hi.baidu.com/weisuotang/item/a1d98ec298c0aa49a8ba9447http://www.cnblogs.com/xinlei/archive/2010/06/23/1763387.html回头练习一下。 1 2 3 4 17... 阅读全文