将'0654879'替换成'0754879' UPDATE dbo.SG_Functionality SET FunctionalityCode=REPLACE(FunctionalityCode,'06','07') WHERE Type=2 AND FunctionalityCode LIKE '06%'…
模糊查找db2数据库中的数据库表: select tabname,remarks from syscat.tables where TABNAME like 'DM%' select 'DROP TABLE DW_RPT.'||tabname||';' from syscat.tables where tabschema = CURRENT SCHEMA ----------------------------------------------------------------------…