2018年8月29日
摘要: 本文着重点主要是 gitHub的使用其中包括:新建仓储,将本地的变更、新增加上传到线上版本库的操作 阅读全文
posted @ 2018-08-29 14:09 wang_cq 阅读(140) 评论(0) 推荐(0)
  2016年9月13日
摘要: 1.启用Ad Hoc Distributed Queries: exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reconfigure 2.为了 阅读全文
posted @ 2016-09-13 16:48 wang_cq 阅读(272) 评论(0) 推荐(0)
  2016年1月8日
摘要: 具体步骤如下:startup force;alter system set "_allow_resetlogs_corruption"=true scope=spfile;recover database using backup controlfile until cancel;alter dat... 阅读全文
posted @ 2016-01-08 11:02 wang_cq 阅读(1540) 评论(0) 推荐(0)
  2014年7月29日
摘要: 错误提示:存储区更新、插入或删除语句影响到了意外的行数(0)。实体在加载后可能被修改或删除。刷新 ObjectStateManager 项。解决案:1.在view中或model中增加隐藏id1.1 修改model[HiddenInput()]public int AlbumId { get; set... 阅读全文
posted @ 2014-07-29 23:27 wang_cq 阅读(208) 评论(0) 推荐(0)
  2014年6月5日
摘要: CREATE or replace PROCEDURE sp_fixWage AUTHID CURRENT_USER as--此处需要注意的 authid current_user 这个属性 详细请查看 上篇博文:http://www.cnblogs.com/Strive-fighting/p/37... 阅读全文
posted @ 2014-06-05 00:12 wang_cq 阅读(646) 评论(0) 推荐(0)
  2014年6月4日
摘要: 今天同事下午问我ORA-01031问题,在测试数据库上,在存储过程中用EXECUTE IMMEDIATE 'CREATE TABLE '出现ORA-01031错误。 一、我先确认一下用户权限:SQL> select * from dba_role_privs 2 where grante... 阅读全文
posted @ 2014-06-04 23:56 wang_cq 阅读(5223) 评论(0) 推荐(0)
  2014年4月23日
摘要: 在网上查找出现这种错误的原因一般是因为删除数据库 安装文件下的某个文件造 成的,但是在我们的服务器上是因为 机子重启(意外断电)了一下就造 成这样的错误,不过解决办法是一样的,下面贴上解决方案解决步骤:以DBA(通常有好几个sys或system)用户sqlplus登录请输入用户名: system/s... 阅读全文
posted @ 2014-04-23 09:56 wang_cq 阅读(348) 评论(0) 推荐(0)
  2013年9月26日
摘要: SET STATISTICS io ONSET STATISTICS time ONgo--========此处为sql代码段=============== select zxbh from t_yr03_zxxx where k_gh='0DF41D83-E0CE-4928-B838-76ACC84F1A4C' and sfct=1and exists (select k_zx from t_yr05_ctzx ctzx where ctzx.k_zx=t_yr03_zxxx.k_zxand exists (select k_ct from t_yr05_ct where c 阅读全文
posted @ 2013-09-26 17:34 wang_cq 阅读(425) 评论(0) 推荐(0)
  2013年7月25日
摘要: 最近刚刚学习knockout中遇到如下问题:1.在给viewModel定义一个方法时,有时后面跟 的this,有的时候没有如下所示:this.fullName = ko.computed(function() { return this.firstName() + " " + this.lastName(); }, this); this.capitalizeLastName=function (){ var currentValue=this.lastName(); this.lastName(currentValue.toUpp... 阅读全文
posted @ 2013-07-25 14:51 wang_cq 阅读(267) 评论(0) 推荐(0)
  2013年7月16日
摘要: function GetQueryString(name) {var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i");var r = window.location.search.substr(1).match(reg);if (r!=null) return unescape(r[2]); return null;}==调用方法=====function initTest(){ alert(GetQueryString("ywzt&quo 阅读全文
posted @ 2013-07-16 17:30 wang_cq 阅读(350) 评论(0) 推荐(0)