SELECT COLUMN_NAME, NUMERIC_PRECISION, NUMERIC_SCALE
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = 'financeproject' AND TABLE_NAME = 'finance_balance' AND DATA_TYPE = 'decimal';
查出的字段 excel 拼接 修改语句
sql
ALTER TABLE finance_income MODIFY COLUMN yyzsrbqje DECIMAL(28, 10) DEFAULT 0;