摘要: 1.新建Controllerpublic ActionResult Index() { return View(); } public ActionResult Person(int? id) { /... 阅读全文
posted @ 2015-07-29 17:53 garsonguo 阅读(3839) 评论(1) 推荐(0) 编辑
摘要: 1.项目中常常需要修改字段长度,但需要保留数据--增加业务受理 项目名称 字段长度alter table t_ywsl add aa varchar2(200);update t_ywsl set aa=proname,proname=null;commit;alter table t_ywsl m... 阅读全文
posted @ 2015-07-29 17:53 garsonguo 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 1.链接数据库 引用System.Data.OracleClient; //数据库链接字符串 Data Source如:192.168.5.153:1521/orcl string linkStr = "User ID=" + name + "; Password=" + password + ";... 阅读全文
posted @ 2015-07-29 17:53 garsonguo 阅读(567) 评论(0) 推荐(0) 编辑
摘要: create or replace procedure delete_date( applycode varchar2 --输入参数)asapplycode_var varchar2(100);instanceid_var varchar2(100);t_ywsloid_var varcha... 阅读全文
posted @ 2015-07-29 17:52 garsonguo 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 数据同步方案:--用DBLINK 创建与所需同步表的链接--------------------------------------------------------------------------------------------------参数 --dblink1 名称 -... 阅读全文
posted @ 2015-07-29 17:51 garsonguo 阅读(660) 评论(0) 推荐(0) 编辑