如果你是要把所有的注释“A”都改成注释“B”,可以这样:select 'COMMENT ON COLUMN '||TABLE_NAME||'.'||COLUMN_NAME||' IS ''B'';' from user_col_commentswhere comments = 'A';