12 2021 档案
摘要:#-*-coding:UTF-8-*-import ioprint(u"文件存放路径需加上英文双引号,例如:“E:/1.txt”")print(u"请输入1.txt文件存放路径:")pathfile=input()print(u"程序已开始运行")f=io.open(str(pathfile),"r
阅读全文
摘要:1.关闭oracle所有的服务。可以在windows的服务管理器中关闭;(控制面板-管理工具-服务) 2.打开注册表:在运行中regedit 打开路径: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ 删除该路径下的所有以oracle开始的
阅读全文
摘要:--检查是否允许导出空表select 'alter table ' || table_name || ' allocate extent ;' from user_tables where segment_created = 'NO';--where num_rows = 0;--执行select生
阅读全文
摘要:Oracle的锁表与解锁 SELECT /*+ rule */ s.username, decode(l.type,'TM','TABLE LOCK', 'TX','ROW LOCK', NULL) LOCK_LEVEL, o.owner,o.object_name,o.object_type, s
阅读全文
摘要:# --*-- coding:utf8 --*--import pymysql, xlwtdef export_excel(table_name,sql): # 连接数据库,查询数据 host, user, passwd, db = '数据库地址', '用户', '密码', '数据库名称' conn
阅读全文
摘要:(1)打开Windows控制面板,双击“程序和功能”。 (2)在当前安装的程序列表中,右键单击RabbitMQ Server,然后单击“卸载”。 (3)在当前安装的程序列表中,右键单击“Erlang OTP”,然后单击“卸载”。 (4)打开Windows任务管理器。 (5)在任务管理器中,查找进程e
阅读全文