Stringsql=StrFormatter.format("SELECT UTC.COLUMN_NAME AS CNAME,UTC.DATA_TYPE AS CTYPE,( SELECT UCC.COMMENTS FROM user_col_comments UCC WHERE UCC.COLUMN_NAME = UTC.COLUMN_NAME AND UCC.TABLE_NAME = UTC.TABLE_NAME ) AS CCOMMENT FROM user_tab_columns UTC WHERE UTC.TABLE_NAME = '{}'",tableName);
sql=StrFormatter.format("SELECT column_name AS CNAME, DATA_TYPE AS CTYPE, column_comment AS CCOMMENT FROM information_schema.COLUMNS WHERE table_name = '{}'",tableName);