*: 存储过程创建 1. 输出查询结果(dbms_output.put_line('用户名为:'||u_name);) create or replace procedure p002test isu_name varchar2(100);begin select user_name into u_ ...
分类:
数据库 时间:
2018-09-25 19:36:11
阅读次数:
181
https://blog.csdn.net/nieson2012/article/details/51980943 目录 ?1.指数平滑定义及公式 ?2.一次指数平滑 ?3二次指数平滑 ?4.三次指数平滑 ?5指数平滑系数α的确定 1、指数平滑的定义及公式 产生背景:指数平滑由布朗提出、他认为时间序 ...
分类:
编程语言 时间:
2018-09-25 19:30:41
阅读次数:
275
与列表不同的是,字符串是不可修改的。 1. strip()方法 2. 字符串大小写转换 3. split() 4. 其他常用方法:count()、replace()等 5. 字符串补充方法 5.1 join() 5.2 zfill()、find()等 ...
分类:
其他好文 时间:
2018-09-23 16:37:28
阅读次数:
184
CiscoASAFWreplaceActivesandStandbymustmakesurethecrossconnectionisthere.musthavewrittenconnectionforDCtocheckmustmakesurethelincenseisthereshowverionMusthavearollbackplane.Mustcommunicationeffectively
分类:
系统相关 时间:
2018-09-22 21:30:24
阅读次数:
203
# 数出字符中出现数字的数 123adc58yu5745 info = input('>>>') for i in info: if i.isalpha(): info = info.replace(i,' ') l = info.split() print(len(l)) ...
分类:
其他好文 时间:
2018-09-22 19:49:36
阅读次数:
143
# 触发器 create or replace trigger tr_tmp before insert on emp for each row begin select empno_seq.nextval into :new.empno from dual; end insert into emp ...
分类:
数据库 时间:
2018-09-22 18:24:56
阅读次数:
205
__author__ = '12711'#-*- coding:utf-8 -*-f=open("F",'r')f_n=open("N",'w')for i in f: if "我爱你" in i : i=i.replace("我爱你","我恨你") f_n.write(i)f.close()f_n ...
分类:
编程语言 时间:
2018-09-21 19:51:39
阅读次数:
148
一.去除str两端空格(strip()) a.去除左端空格 lstrip() b.去除右端空格 rstrip() c.去除两端空格 strip() 二.str空格替换(replace() 推荐使用) 三.str重新组合替换空格(使用split分割字符,后重新组合,效率低) 四.正则表达式去空格(,用 ...
分类:
编程语言 时间:
2018-09-21 10:59:24
阅读次数:
161
链接数据库:mysql-hlocalhost-uusername-ppassword显示所有数据库:showdatabases;选定数据库:usedatabase_name;查看所有表:showtables;查看表中内容:select*fromtable_name#select*fromwp_usersmysql>usemysql#进入mysql数据库mysql>showtables;
分类:
数据库 时间:
2018-09-20 18:03:25
阅读次数:
176
线程,是我们项目中绕不过的重点领域。提到线程,就常会听到线程安全的术语。那什么是线程安全呢?通俗点说,就是线程访问时不产生资源冲突。其实,这是一个有点难以定义的概念,不是很容易让人一听就懂的概念。“一个类可以被多个线程安全调用就是线程安全的”《Java并发编程实践》。 来说说静态变量、实例变量、局部 ...
分类:
编程语言 时间:
2018-09-20 15:56:52
阅读次数:
314