2010年5月24日
摘要: 原文:http://database.itags.org/sql-server/157556/These 7 columns are used for tracking inserts and updates in the table. The tracking is required to identify the data that has changed for synchronizatio... 阅读全文
posted @ 2010-05-24 11:44 佐伊凡 阅读(211) 评论(0) 推荐(1) 编辑
  2010年5月23日
摘要: 要点摘要:The Differences between classes and structsclasses are reference types stored in the heap ; structs are value types,they are stored either in the stack or inline and have the same lifetime restri... 阅读全文
posted @ 2010-05-23 18:17 佐伊凡 阅读(365) 评论(0) 推荐(0) 编辑
  2010年5月21日
摘要: XPath ExpressionsFollowing are some of the expressions that you can use to select one or more nodes from the XML document above:/userinfo - Selects the root element. /userinfo/username - Selects the u... 阅读全文
posted @ 2010-05-21 15:27 佐伊凡 阅读(117) 评论(0) 推荐(0) 编辑
  2010年5月18日
摘要: http://files.cnblogs.com/fightLonely/SharePoint%e7%ae%80%e4%bb%8b.rar 阅读全文
posted @ 2010-05-18 18:43 佐伊凡 阅读(181) 评论(0) 推荐(2) 编辑
摘要: 开发环境:win xp sp3 ,vs 2008,sql ce 3.0 sql 2000 sp4 using System; using System.IO; using System.Data.SqlServerCe; using System.Data.SqlClient; using SmartDeviceTest1.Data; using System.... 阅读全文
posted @ 2010-05-18 17:55 佐伊凡 阅读(455) 评论(0) 推荐(1) 编辑
摘要: select语句中只能使用sql函数对字段进行操作(链接sql server),select 字段1 from 表1 where 字段1.IndexOf("云")=1;这条语句不对的原因是indexof()函数不是sql函数,改成sql对应的函数就可以了。left()是sql函数。select 字段1 from 表1 where charindex('云',字段1)=1;字符串函数对二进制数据、字... 阅读全文
posted @ 2010-05-18 17:21 佐伊凡 阅读(253) 评论(0) 推荐(1) 编辑
  2010年5月17日
摘要: 原文:http://www.cnblogs.com/paker/archive/2007/04/10/706371.html原本用的AS的版本是4.1。在运行带有Replication功能的测试用例都是正常,sdf数据库文件都能同步更新数据。但自从安装了AS 4.5时,问题就出现了(在安装升级的中间,我还进行了其他操作,但总体来说不会影响,为了逻辑的严密,我还是在文章的标题里加上了“可... 阅读全文
posted @ 2010-05-17 18:01 佐伊凡 阅读(482) 评论(0) 推荐(0) 编辑
  2010年5月15日
摘要: 气质的培养(哈佛管理世界) 从哈佛管理世界中看到这样一篇小文,感觉非常不错,拿来与诸位分享。一:沉稳 (1)不要随便显露你的情绪。 (2)不要逢人就诉说你的困难和遭遇。 (3)在征询别人的意见之前,自己先思考,但不要先讲。 (4)不要一有机会就唠叨你的不满。 (5)重要的决定尽量有别人商量,最好隔一天再发布。 (6)讲话不要有任何的慌张,走路也是。二:细心 (1)对身边发生的事情,常思考它们的因果... 阅读全文
posted @ 2010-05-15 23:16 佐伊凡 阅读(132) 评论(0) 推荐(0) 编辑
  2010年5月14日
摘要: 1:分离数据库sp_detach_db '数据库名'附加数据库有日志sp_attach_db 'aa','D:\MSSQL\Data\aa.mdf','D:\MSSQL\Data\aa.ldf'附加数据库无日志sp_attach_single_file_db 'aa','D:\MSSQL\Data\aa.mdf'2:如果日志文件丢失:A.我们使用默认方式建立一个供恢复使用的数据库(如test)。可... 阅读全文
posted @ 2010-05-14 09:44 佐伊凡 阅读(297) 评论(0) 推荐(0) 编辑
  2010年5月13日
摘要: 代码 阅读全文
posted @ 2010-05-13 16:43 佐伊凡 阅读(380) 评论(1) 推荐(0) 编辑