經安全檢測,此網站為安全網站,請放心前往原始網址!

sql 轉換成yyyy-mm-dd格式和SqlServer中得到當前日期(convert函數,getdate函數) - jjzaihaozhe的專欄 ...- CSDN.NET

如何用sql語言只獲得資料庫當前日期,且格式為yyyy-mm-dd?select convert(char(10),getdate(),120) select * from 表名 where convert(char(10),欄位名,120)='2012-01-01'SqlServer中得到當前日期(convert函數,getdate函數)

blog.csdn.net

網址安全性掃描由 google 提供