- 浏览: 8846 次
- 性别:
- 来自: 长沙
最新评论
文章列表
db2数据库报错:The transaction log for the database is full. SQLSTATE=57011
2011-05-10 12:50
做DB2的插入操作报错
db2 => insert into atmjobsts values ('20090805','2')
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it r ...
select * from pmt_module t start with t.parent_id='1142001001' connect by prior t.module_id=t.parent_id;
反编译和重新打包Android的dex文件需要用到两个jar包,可访问 http://code.google.com/p/smali/ 地址去下载(如果地址没变的话),这两个文件分别是 baksmali-1.2.6.jar 和 smali-1.2.6.jar (后面跟的是版本号;当前版本为1.2.6)。作用和使用方法如下:
一、baksmali-1.2.6.jar
(1)作用:用于反编译 dex文件的。执行反编译后会在当前目录下产生一个 out 文件夹,这个文件夹中的资源(全部是扩展名为 .smali 的文件)即是反编译结果。
(2)使用方法: java -jar baksmal ...
1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断
select * from people
where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1)
2、删除表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断,只留有rowid最小的记录
delete from people
where peopleId in (select peopleId from people group b ...
继《android TextView的字体颜色设置的多种方法》【http://yahaitt.iteye.com/blog/454439】
下面看看第二种方式:在Activity类中进行设置
1、先将main.xml改成如下,即去掉android:textColor="@color/red":
Xml代码
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.c ...
ViewGroup.MarginLayoutParams
android:layout_marginBottom
android:layout_marginLeft
android:layout_marginRight
android:layout_marginTop
=====================================
ViewGroup.LayoutParams
android:layout_height
android:layout_width
=====================================
FrameLayout.La ...