摘要:
1.字符串序列翻转 字符串切片 a_str = “abc”[::-1] 2.字符串分割: b_str = ‘ ds fdf ds ’ b_str .split(" 空格") 3.字符串拼接 c_str = ' ' c_str .join(列表) 实例方法代码: 阅读全文
摘要:
一、天数: 在Oracle中,两个日期直接相减,便可以得到天数; select to_date('08/06/2015','mm/dd/yyyy')-to_date('07/01/2015','mm/dd/yyyy') from dual; 二、月数: 计算月数,需要用到months_between 阅读全文
摘要:
DECLARE i number := 0;BEGIN for i in 1 .. 3000 loop insert into computers (comNo, compModel, buyTime, price, owner) values (i, '8' + i, to_date('' + s 阅读全文
摘要:
1.Python 3.6 安装包 1.要加环境变量 2.pip安装PIL库 3.pip安装pytesseract模块 2.tesseract-ocr-setup-4.00.00dev.exe 光学识别软件 D:\Tesseract-OCR\tessdata 要加入环境变量。 3.jTessBoxEd 阅读全文
摘要:
select * from persons o where trunc(o.create_date) = to_date('2018-07-30','yyyy-mm-dd') minus 对比数据完全一样。 select * from persons o where o.create_date > 阅读全文
摘要:
查询以及删除一个数据库表内的重复数据。 1.查询表中的多余的重复记录,重复记录是根据单个字段来判断的。 select * from biao where id in (select id from biao group by id having count(id) >1 ) 2.删除表中的多余的重复 阅读全文