1.清数据库日志:dump tran 数据库名 with truncate_only
2.case 语句的使用:select (case when A.ACCH_STATUS='N' then '新增' when A.ACCH_STATUS='L' then '锁定' when A.ACCH_STATUS='S' then '提交' else '月结' end) 单据状态 from A
1.清数据库日志:dump tran 数据库名 with truncate_only
2.case 语句的使用:select (case when A.ACCH_STATUS='N' then '新增' when A.ACCH_STATUS='L' then '锁定' when A.ACCH_STATUS='S' then '提交' else '月结' end) 单据状态 from A