天天@BLOG

脖子越来越疼,脑袋越来越钝
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2006年1月4日

摘要: 1、:普通SQL语句可以用Exec执行 eg:Select * from tableName Exec('select * from tableName') Exec sp_executesql N'select * from tableName' -- 请注意字符串前一定要加N 2、字段名,表名,数据库名之类作为变量时,必须用动态SQL eg:declare @fname varchar(20)... 阅读全文

posted @ 2006-01-04 12:08 天天在线 阅读(356) 评论(1) 推荐(0)

摘要: using System.Security.Cryptography;using System.Text; /// /// MD5加密/// /// /// public string GetMD5(string sDataIn){System.Security.Cryptography.MD5CryptoServiceProvider md5=new System.Security.Crypto... 阅读全文

posted @ 2006-01-04 09:34 天天在线 阅读(208) 评论(0) 推荐(0)

@忙碌,不代表有效率;方法,远胜于苦干