给定一个Db2数据库, 如何查询出那些字段名字相同但其数据型或长度有所不同?
[Given a Db2 database, how to query out the column names that are the same but have different data types or different lengths?]
在syscat.columns里做查询,然后做下left ,关联条件 a.colname= b.colname and a.tabname<> b.tabname就是了,如果有更多的条件,可以自己往上续