A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
Hi @SELVAKUMAR VELU ,
Welcome to Microsoft Q&A!
Please also refer below:
DECLARE @Amount1 MONEY
SET @Amount1 = 0.01
DECLARE @Amount2 MONEY
SET @Amount2 = 80.5
DECLARE @Amount3 MONEY
SET @Amount3 = 800.01
SELECT CAST(@Amount1 AS INT)
SELECT CAST(@Amount2 AS INT)
SELECT CAST(@Amount3 AS INT)
Output:
Best regards,
Melissa
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.