2018年5月5日

使用命令行创建用户、数据库并授权

摘要: create user 'order_xx'@'%' identified by '1a6e3b6ac1b7eb38750981cb9b038f06'; create database d_order_xx default character set = 'utf8' default collate = 'utf8_general_ci'; grant all privileges on d_o... 阅读全文

posted @ 2018-05-05 09:37 果然朝辉 阅读(346) 评论(0) 推荐(0)

mysql数据库转成oracle踩过的坑

摘要: 1.使用count这种组函数,那么必须配合group by使用,获取的字段要么出现在组函数内要么出现在group by中2.oracle使用union不仅要字段名一致并且数据类型也要一致3.REGEXP_LIKE(name, '.+*aa.+*') 正则使用.+*代替%4.字段严格大小写5.case 阅读全文

posted @ 2018-05-05 00:53 果然朝辉 阅读(482) 评论(0) 推荐(0)

导航