2017年12月8日

摘要: 数据库的创建:IF NOT EXISTS是一个可选子句,也可以通过with dbproperties增加键值对属性信息 hive> create database if not exists GameDW;OKTime taken: 0.013 seconds 或者 hive> create sch 阅读全文

posted @ 2017-12-08 15:20 打杂滴 阅读(134) 评论(0) 推荐(0) 编辑

摘要: [root@host ~]# hivewhich: no hbase in (/root/app/apache-maven-3.5.2/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.8. 阅读全文

posted @ 2017-12-08 14:42 打杂滴 阅读(357) 评论(0) 推荐(0) 编辑

摘要: Information_schema数据库是MySQL自带的,它提供了访问数据库元数据的方式。 desc tb_name ,describe tb_name,show columns from tb_name或show columns from tb_name from db_name 均表示显示表 阅读全文

posted @ 2017-12-08 10:59 打杂滴 阅读(882) 评论(0) 推荐(0) 编辑

摘要: show create table tablename 查看某表的建表语句 同理查看存储过程 show create procedure sp_name 阅读全文

posted @ 2017-12-08 10:16 打杂滴 阅读(357) 评论(0) 推荐(0) 编辑


Copyright © 2024 打杂滴
Powered by .NET 8.0 on Kubernetes