時間調前,調後數據庫
select billid,DATEADD(mm,2,billdate) from bi_Billdate
注:用dateadd(/時間年/月/日,調前或後多少,字段)select
mm爲月份,2爲調前兩天,billdate爲數據庫裏面的字段 數據