数据库(db2)按字段长度删除信息
/**
*sys_organization表名
*id字段的长度等于10的
*删除
**/
delete sys_organization where length(trim(id)) = 10
/**
*用于查看String类型的字符串是否是某种类型
**/
System.out.println(java.nio.charset.Charset.forName("GB2312").newEncoder().canEncode("汉字"));
/**
*sys_organization表名
*id字段的长度等于10的
*删除
**/
delete sys_organization where length(trim(id)) = 10
/**
*用于查看String类型的字符串是否是某种类型
**/
System.out.println(java.nio.charset.Charset.forName("GB2312").newEncoder().canEncode("汉字"));