07 2023 档案
摘要:方法一:绝对值 if __name__ == "__main__": """run""" print("负数取反-绝对值:{}".format(abs(-28))) print("正数数取反-绝对值:{}".format(abs(32) * -1)) 结果: 方法二:numpy库 # coding:
阅读全文
摘要:使用to_char处理日期 格式代码 语法 TO_CHAR(date,’格式’); -- SQL中不区分大小写 用法 to_char(sysdate,'q') 季 to_char(sysdate,'yyyy')年 to_char(sysdate,'mm')月 to_char(sysdate,'dd'
阅读全文
摘要:文件-设置-编辑器-检查-校对-拼写错误 取消勾选
阅读全文
摘要:表增加注释 comment on table 表名 is '表注释"; 列增加注释 comment on column 表.列 is '列注释'; 读取表注释 select * from user_tab_comments where comments is not NULL AND TABLE_N
阅读全文
摘要:查询当前日期的所在月的天数 # coding:utf-8 import datetime import calendar from loguru import logger as logs class ca: @staticmethod def days_of_the_month(): """查询当
阅读全文
浙公网安备 33010602011771号