SyntaxFix
Write A Post
Hire A Developer
Questions
Try this query
DECLARE @PrintVarchar nvarchar(max) = (Select Sum(Amount) From Expense) PRINT 'Varchar format =' + @PrintVarchar DECLARE @PrintInt int = (Select Sum(Amount) From Expense) PRINT @PrintInt