在SQL Server中獲取當前日期:spa
select convert(char(10), getdate(), 120); -- 2019-06-17
具體的語法(爲何這樣寫)另外再說。code
"蝴蝶是依賴太陽光飛行的,沒有了陽光就飛不起來了。"blog