04 2019 档案

摘要:nohup python test.py > nohup.out 2>&1 & 发现nohup.out中显示不出来python程序中print的东西。 这是因为python的输出有缓冲,导致nohup.out并不能够马上看到输出。 python 有个-u参数,使得python不启用缓冲。 nohup 阅读全文
posted @ 2019-04-22 14:07 ahuo 阅读(918) 评论(0) 推荐(0) 编辑
摘要:mod 取余是用函数mod(numer1,number2),其返回的值为其余数值 如:mod(id,2) = 1 返回id号是奇数的id Email后缀提取 emailorg=RIGHT(EMail,LENGTH(EMail)- INSTR(EMail,'@')) 阅读全文
posted @ 2019-04-19 09:47 ahuo 阅读(141) 评论(0) 推荐(0) 编辑
摘要:select ('123a' REGEXP '[^0-9.]'); --‘123a'中含有字符'a' 输出结果为1 mysql中常量true输出为1 false输出为0非数字和字母SELECT * from s WHERE (name1 REGEXP '[A-Za-z0-9]')=0 阅读全文
posted @ 2019-04-19 09:17 ahuo 阅读(7496) 评论(0) 推荐(0) 编辑
摘要:不支持的 select * into order_new from orders 改为 Create table order_new(select * from orders) 阅读全文
posted @ 2019-04-18 10:56 ahuo 阅读(487) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示