DECLARE @message NVARCHAR(MAX) SELECT @message = 'whatever in the world you want it to be.'
RAISERROR ('Your message', 0, 1) WITH NOWAIT
Quote:It may be surprising but using RAISERROR doesn't require that there is an error condition. If the severity level given to RAISERROR is 0 through 10 SQL Server treats the RAISERROR as a plain message and not an error at all
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)