摘要: 有下面两个表:将表tab1中id值与和表tab2中id值相同的行的val更新为tab2中val的值. select * from tab1; select * from tab2 最容易犯的错误是:update tab1 set val=(select val from tab2 where tab 阅读全文
posted @ 2018-07-23 10:34 飛燕88 阅读(500) 评论(0) 推荐(0) 编辑
摘要: expdp userid='swms/swms@sc911' schemas=swms directory=DATA_PUMP_DIR dumpfile=swmsexpdp.dmp logfile=swmsexp.log version=10.2.0.5.0 阅读全文
posted @ 2017-10-27 14:38 飛燕88 阅读(58) 评论(0) 推荐(0) 编辑
摘要: imp system/manager@test file=....... full=y ignore=y ; 阅读全文
posted @ 2016-11-21 09:52 飛燕88 阅读(88) 评论(0) 推荐(0) 编辑
摘要: select CONVERT(varchar(100), GETDATE(), 23) AS CurrentDateTime 阅读全文
posted @ 2016-09-08 15:24 飛燕88 阅读(99) 评论(0) 推荐(0) 编辑
摘要: exp swms/swms@zyyswms tables=sys_organize file=c:/20151127.dmp 阅读全文
posted @ 2015-11-27 08:48 飛燕88 阅读(59) 评论(0) 推荐(0) 编辑
摘要: select t.*, t.rowid from a_gys t,mms_gys b where t.gys=b.gysmc for updateselect * from a_gys t where not exists (select * from mms_gys b where t.gys=b... 阅读全文
posted @ 2015-08-31 17:28 飛燕88 阅读(105) 评论(0) 推荐(0) 编辑
摘要: UPDATE mms_wzmxSET mms_wzmx.jldwbm = (SELECT code FROM sys_code WHERE mms_wzmx.jldwmc=sys_code.text and length(sys_code.code)>4 ) 阅读全文
posted @ 2015-08-11 10:09 飛燕88 阅读(102) 评论(0) 推荐(0) 编辑
摘要: insertintomms_gys(gysbm,gysmc,sybz,ywm)selectlpad(HXYGYS.nextval,6,'0'),gys,'1',f_pinyin(gys)fromgys 阅读全文
posted @ 2015-08-11 09:31 飛燕88 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 可以新建一个word文档,然后插入-对象-文件中的文字-选择被锁定的文档,然后另存为就可以了 阅读全文
posted @ 2014-03-22 09:48 飛燕88 阅读(333) 评论(0) 推荐(0) 编辑
摘要: PageIndexChanging事件里写{this.GridView1.PageIndex = e.NewPageIndex;然后再次绑定GridView数据} 阅读全文
posted @ 2013-12-16 18:36 飛燕88 阅读(94) 评论(0) 推荐(0) 编辑