1 DECLARE @d1 date, @t1 time, @dt1 datetime; 2 SET @d1 = GETDATE(); 3 SET @t1 = GETDATE(); 4 SET @dt1 = GETDATE(); 5 select @d1 date格式,@t1 time格式,@dt1 datetim格式
转载于:https://www.cnblogs.com/ailanglang/p/6730649.html
1 DECLARE @d1 date, @t1 time, @dt1 datetime; 2 SET @d1 = GETDATE(); 3 SET @t1 = GETDATE(); 4 SET @dt1 = GETDATE(); 5 select @d1 date格式,@t1 time格式,@dt1 datetim格式
转载于:https://www.cnblogs.com/ailanglang/p/6730649.html