摘要: 1, How to get the row number of one table:select Row_Number() over ( order by id ), *from testTable2, sp_configure [代码]3, 创建链接服务器 exec sp_addlinkedserver 'Conn_Name', ' ', 'SQLOLEDB', 'server_name OR ... 阅读全文
posted @ 2009-03-26 11:55 lp123 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 索引类型:1,按存储结构分:聚族索引和非聚族索引;2,按唯一性分:唯一索引和非唯一索引;3,按索引列数分:单列索引和多列索引; 阅读全文
posted @ 2009-03-26 09:36 lp123 阅读(134) 评论(0) 推荐(0) 编辑
摘要: The difference between UDF[User Defined Function] and SP[Store Procedure] in SQL Server Database:1, UDF can only have input parameters, however, SP can both have input and output parameters.2, Functio... 阅读全文
posted @ 2009-03-25 16:25 lp123 阅读(394) 评论(0) 推荐(0) 编辑
摘要: ASP.Net 中的数据绑定:1, 绑定数据控件[DataGrid, GridView,DataList...etc.]<%#Eval("ProperName") %>2, 绑定属性,方法,变量[MyProp, TestMethod, ViewState["T"] ...etc]<%= MyProp %><%= TestMethod() %><%= Vie... 阅读全文
posted @ 2009-03-25 14:04 lp123 阅读(178) 评论(0) 推荐(0) 编辑