So Young_的博客查询表中字段类型是STR并且字段长度小于30的字段: select * from SY_SERV_ITEM where SERV_ID = ‘KSZX_HT’ AND ITEM_FIELD_TYPE =‘STR’ AND ITEM_FIELD_LENGTH<30; 将表中字段类型是STR并且字段长度小于30的...
z793397795的博客tab_columns t_column, user_tables t_tables where t_column.table_name = t_tables.table_name and t_tables.table_name like '%BM_B%' -- 模糊匹配的表名 and t_column.data_length 可根据字段长度 and t_column....