随笔分类 -  sql

摘要: 阅读全文
posted @ 2023-06-02 10:59 雪紫 阅读(3) 评论(0) 推荐(0) 编辑
摘要:https://wenku.baidu.com/view/4bc0b7d09d3143323968011ca300a6c30c22f189.html 阅读全文
posted @ 2022-06-23 16:43 雪紫 阅读(5) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-09-02 16:27 雪紫 阅读(1194) 评论(0) 推荐(0) 编辑
摘要:sql数据库查询所有表名的语句select name from sys.tables; ​​​​ 阅读全文
posted @ 2019-10-17 10:26 雪紫 阅读(4084) 评论(0) 推荐(0) 编辑
摘要:用sql获取数据库中所有的表名的方法:1、oracle下:select table_name from all_tables;2、MySQL下:select table_name from information_schema.tables where table_schema='csdb' and 阅读全文
posted @ 2019-09-19 13:35 雪紫 阅读(1116) 评论(0) 推荐(0) 编辑
摘要:因为,在SQL SERVER中DATETIME表示的时间为00:00:00到23:59:59.997,它的时间精度为1/300秒,在使用时会舍入到舍入到 .000、.003 或 .007 秒三个增量。 转载自 阅读全文
posted @ 2019-09-09 14:50 雪紫 阅读(1369) 评论(0) 推荐(0) 编辑

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