Created
April 1, 2022 17:36
-
-
Save MarkPryceMaherMSFT/f3fc3448b0c727fde32d584b00055a29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create FUNCTION dbo.check_my_decimal (@value varchar(255)) | |
RETURNS decimal(18,2) | |
as | |
BEGIN | |
declare @rt decimal(18,2) | |
set @rt = try_parse(@value as decimal(18,2)) | |
return @rt; | |
END; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment