62、SQL FORMAT() 函数

SQLFORMAT() 函数用于对字段进行格式化显示

 SELECT FORMAT(column_name,format) FROM table_name;
参数 描述
column_name 必需。要格式化的字段或数值
format 必需。格式