摘要: 1、指定日期月第一天: select to_char(trunc(to_date('201806','yyyymm'),'mm'),'yyyymmdd') from dual; 2、指定日期月最后一天 select to_char(last_day(to_date('201806','yyyymm' 阅读全文
posted @ 2019-03-26 17:34 Alisonman 阅读(1255) 评论(0) 推荐(0) 编辑
摘要: python 对Oracle数据库操作需要安装cx_Oracle 包 # -*- coding: utf-8 -*-"""Created on Tue Mar 26 10:27:26 2019 @author: Alisonman""" import cx_Oracledb=cx_Oracle.co 阅读全文
posted @ 2019-03-26 17:23 Alisonman 阅读(333) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-"""Created on Tue Mar 26 11:43:49 2019 @author: Alisonman""" import re #引用re类import random #引用random类 def phone_pat(): #定义手机号码验 阅读全文
posted @ 2019-03-26 17:16 Alisonman 阅读(1441) 评论(0) 推荐(0) 编辑