1、查询当前用户的空表; select count(*) from user_tables where NUM_ROWS=0; 2、生成执行语句 Select ‘alter table ‘||table_name||‘ allocate extent;‘ from user_tables where num_rows=0 3、执行第2步中生成...
分类:
数据库 时间:
2015-08-30 16:03:41
阅读次数:
210
题目如下:
A table tennis club has N tables available to the public. The tables are numbered from 1 to N. For any pair of players, if there are some tables open when they arrive, they will be assign...
分类:
其他好文 时间:
2015-08-29 12:40:42
阅读次数:
244
Moving Tables
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 24631 Accepted Submission(s): 8144
Problem Description
The famous ACM ...
分类:
其他好文 时间:
2015-08-28 13:34:45
阅读次数:
200
86版的安装方式,网上找到一堆,折腾了很久才把98版的安装上,记录一下。从这里下了这个http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=3665594文件解压到 /usr/share/ibus-table 目录的 tables 和 icons...
分类:
其他好文 时间:
2015-08-28 12:29:29
阅读次数:
137
Mysql学习笔记1、操作数据库use dataBaseName //使用数据库show databases //显示所有数据库show tables //显示该数据库中的所有数据表show columns from tableName == describe tableName //显示表tab....
分类:
数据库 时间:
2015-08-28 09:33:08
阅读次数:
259
Access denied for user ‘root‘@‘localhost‘ (using password:YES) 解决方案 ? ? ? ? ? ? ? ? ?? 解决方案: 1、打开MySQL目录下的my.ini文件,在文件的最后添加一行“skip-grant-tables”,保存并关闭...
分类:
数据库 时间:
2015-08-27 19:28:37
阅读次数:
261
1. 设置默认需要导出的hive数据库 vi ~/.hiverc use logbase; 2. 创建数据临时目录 hdfs dfs -mkdir /tmp/hive-export 3.生成导出数据脚本 hive -e "show tables " | awk ‘{printf "export table %s to @/tmp/hi...
分类:
其他好文 时间:
2015-08-27 19:27:52
阅读次数:
175
1.查询:日志、DB、Tables、Descriptshowmasterlogs;##查看日志/usr/local/mysql/data/目录下;适用于mysql5.5showdatabases;##查看所有数据库showtables; ##查看当前数据库的所有表use数据库名; ##进入一个数据库desc表名;##查看一个表的结构2.新建,删除DB、Tablescreatedatab..
分类:
数据库 时间:
2015-08-26 20:19:09
阅读次数:
190
Moving Tables
Problem Description
The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure.
The floor has 200 rooms ea...
分类:
其他好文 时间:
2015-08-26 13:59:55
阅读次数:
196
https://leetcode.com/problems/combine-two-tables/Combine Two TablesTable: Person+-------------+---------+| Column Name | Type |+-------------+-----...
分类:
数据库 时间:
2015-08-26 08:17:26
阅读次数:
232