on 03-06-2017 4:35 PM
CREATE FUNCTION [dbo].[AC_FirstDate] () RETURNS DATETIME AS BEGIN DECLARE @Result DATETIME; SELECT @Result = Cast (Cast(Month(getdate()) AS NVARCHAR) + '-01-' + CAST (YEAR(GETDATE()) AS nVARCHAR) AS DATE); RETURN @Result; END
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.