I am trying to print a selected value, is this possible?
Example:
PRINT SELECT SUM(Amount) FROM Expense
Add
PRINT 'Hardcoded table name -' + CAST(@@RowCount as varchar(10))
immediately after the query.