上一页 1 ··· 7 8 9 10 11
摘要: 常用字符串函数: concat(s1,s2,s3..) 连接s1,s2,...sn为一个字符串 INSERT(str,x,y,instr)将字符串str从x位置开始,y个字符串替换为字符串instr lower(str) 返回str小写字符串 upper (str) 将字符串str的所有字母变成大写 阅读全文
posted @ 2018-03-12 10:27 xiao_pai_pai 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 日期时间和类型 常用日期和时间类型 字节 year 1 表示年份 值范围:(1901 2155) date 4 表示年月日 例如 :2018-03-09 值范围:1000-01-01 至9999-12-31 time 3 表示时分秒 值范围 835:59:59 838:59:59 dateime 8 阅读全文
posted @ 2018-03-09 14:48 xiao_pai_pai 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 最近在学习下,总结一下mysql数值类型; mysql字符类型分: 1、整数类型: 字节 值范围 INTERGER 1 -127-128 SMALLINT 2 MEDIUMINT 3 INT、INTERGER 4 DECIMAL NUMERIC 2、浮点数类型 FLOAT DOUBLE 3、定点类型 阅读全文
posted @ 2018-03-09 14:08 xiao_pai_pai 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 一、安装zabbix_server 二、安装zabbix_agent 三、zabbix配置详解 阅读全文
posted @ 2018-03-09 13:56 xiao_pai_pai 阅读(81) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/pythonfrom email.mime.text import MIMETextfrom email.mime.multipart import MIMEMultipartimport smtplibmsg = MIMEMultipart()att1 = MIMEText( 阅读全文
posted @ 2018-03-09 13:50 xiao_pai_pai 阅读(147) 评论(0) 推荐(0) 编辑
摘要: export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK; ### 如果oracle表中有中文输出,为防止乱码,执行脚本前,需要先制定字符集; #!/usr/bin/python # -*- coding: UTF-8 -*- import xlwtimport xlrdi 阅读全文
posted @ 2018-03-09 13:39 xiao_pai_pai 阅读(565) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11