前两天把系统换成Ubuntu 12.04,今天在写代码的时候准备真机调试,结果ADT识别不出真机,我擦.果断网上查找了一下解决办法,经过半个小时左右的折腾,尼玛,终于搞定了.具体解决办法如下: 1.先插上手机在命令行下输入lsusb指令 sxd@sxd-ThinkPad-T400:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linu…
1.先进行表分析(一定要执行此步,否则查询空表可能不准确) select 'analyze table '||table_name||' compute statistics;' from user_tables; 2.再查询哪些表是空的(此步可以省略,直接进行第三步) select table_name from user_tables where NUM_ROWS=0 order by table_name; 3.最后生成alert语句select 'alter table '||table…