Microsoft
Software
Hardware
Network
Question : Viewing print output from a Stored Procedure in SQL Server Management Studio
So, I've got Microsoft SQL Server Management Studio 2008.
In the "old" days (earlier version, probably Visual Studio 2005), I had PRINT statements in my stored procedure and I could execute the SP and see all the print statements in an output window.
Now, when I execute a SP, I don't see these print statements, even in the Messages window.
Any suggestions?
Thanks,
Steve
Answer : Viewing print output from a Stored Procedure in SQL Server Management Studio
if any of the values for example '@ITEMTYPEIDENTIFIER ' is null , then the string catenation will result in null,
PRINT @ITEMID + ' | ' + ISNULL( cast( @ITEMTYPEIDENTIFIER as varchar ) , '' )
Random Solutions
Impoting xls sheet into Microsoft acces existing table
The data types nvarchar and uniqueidentifier are incompatible in the add operator.
Reusing an iif statement in MS Access
VBA/Excel - How to replace date value with date variable from text box?
WCF service error when trying to connect to SQL Request for the permission of type 'System.Data.SqlClient.Sql<wbr />ClientPerm<wbr />ission, System.Data
Microsoft, Server 2003, SP2 Bugcheck 0x0000000a Problem
Help with multiselect listbox
SQL Server problem with date format
How to revert back the saved file in MS word?
Exchange Server 2007 SP2 Setup