sql 用Cast(@last as nvarchar) oracle用to_date('2008-8-8','YYYY-MM-dd')
sqlserver如一二楼,oracle用to_date('2008-8-8','YYYY-MM-dd')
转换一下 Cast(@last as nvarchar) 。
Cast(@last as nvarchar)
mark