2013年4月24日
摘要: 1 判断某表中是否有某字段select count(column_name) from cols where table_name = upper('tbl_archiverequest') and column_name = upper('updatedate')2 添加字段alter table tbl_archiverequest add UpdateDateTime date; 阅读全文
posted @ 2013-04-24 11:44 而立未立 阅读(259) 评论(0) 推荐(0) 编辑
  2013年4月1日
摘要: 1 将数据库TEST完全导出,用户名system 密码manager 导出到D:\xx.dmp中 exp system/manager@TEST file=d:\xxx.dmp full=y2 将数据库中system用户与sys用户的表导出 exp system/manager@TEST file=d:\xxx.dmp owner=(system,sys)3 将数据库中的表table1 、table2导出 exp system/manager@TEST file=d:\xxx.dmp tables=(table1,table2) 4 将数据库中的表table1中的字段filed1以" 阅读全文
posted @ 2013-04-01 16:59 而立未立 阅读(113) 评论(0) 推荐(0) 编辑
  2013年3月29日
摘要: 最近在工作中使用Silverlight访问WCF报如下错误:System.Security.SecurityException: 安全性错误。经过资料查询,必须要在服务器端添加策略。 由于我使用的服务宿主程序为应用程序,所以将策略以文件流的形式承载在内存中。 来看策略服务代码:using System.IO; using System.Reflection; using System.ServiceModel; using System.ServiceModel.Description; using System.ServiceModel.Web; using Common.Messag... 阅读全文
posted @ 2013-03-29 10:48 而立未立 阅读(366) 评论(0) 推荐(0) 编辑