摘要:Oracle语法: UPDATE TableName SET (column1[,column2...])= (SELECT column1,[,column2...] FROMTableName1 [WHERE where_definition])Oracel 示例:update t_fare_info t set (t.currency_code, t.fare_type, t.allow_alone_sale, t.allow_combine_sale) = (select f.currency_code, f.fare_type, f.allow_alone_sale, f.allow
阅读全文
摘要:解决方案:方案一、在环境变量的系统变量中修改path,添加oracle目录如:C:\oracle\product\10.2.0\client_1\bin;方案二、启动Window 资源浏览器找到ORACLE_HOME目录,如C:\oracle\product\10.2.0\client_1右键弹出菜单,选择该目录共享与安全点击 “安全” 页签在组和用户名称列表中点击“Authenticated Users” 项.在该用户的权限列表中,将“读取和运行”的选择框置为不选中状态再次点击“读取和运行”的选择框,将其设置为选中状态点击“高级”按钮并在权限项目中确定“Authenticated Users
阅读全文
摘要:原因是机器装了卡巴斯基导致。解决方案:一、停掉卡巴斯基再提交;二、在“设置”->"服务"->"网络设置"->"端口设置中取消对80端口的监控;三、在“设置”->保护->信任区域->添加->浏览,浏览TortoiseSvn 安装目录下TortoiseSvn\bin\TortoiseProc.exe文件即可。
阅读全文
摘要:先使外键失效,修改完数据后再有效失效语句:alter table table_name disable constraint constraint_name;update数据;有效语句:alter table table_name enable constraint constraint_name;
阅读全文
摘要:dgvMain.DataSource = new BindingList<集合对象>(绑定集合);
阅读全文
摘要:procedure copy(a_id int) is cursor t_cursor is select * from table f where f.id = a_id; v_row table%rowtype;begin for v_row in t_cursor loop -- 处理数据 end loop;end copy;
阅读全文
摘要:using System.Text.RegularExpressions;Regex.IsMatch(strStartTime, "^([0-1]+[0-9]|2[0-3])([0-5][0-9])$");
阅读全文