随笔分类 - sql
摘要:https://wenku.baidu.com/view/4bc0b7d09d3143323968011ca300a6c30c22f189.html
阅读全文
摘要:mysql 类似to_char() to_date()函数mysql日期和字符相互转换方法 date_format(date,'%Y-%m-%d') >oracle中的to_char(); str_to_date(date,'%Y-%m-%d') >oracle中的to_date(); %Y:代表4
阅读全文
摘要:sql数据库查询所有表名的语句select name from sys.tables;
阅读全文
摘要:用sql获取数据库中所有的表名的方法:1、oracle下:select table_name from all_tables;2、MySQL下:select table_name from information_schema.tables where table_schema='csdb' and
阅读全文
摘要:因为,在SQL SERVER中DATETIME表示的时间为00:00:00到23:59:59.997,它的时间精度为1/300秒,在使用时会舍入到舍入到 .000、.003 或 .007 秒三个增量。 转载自
阅读全文