SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE dbo.InstantPrint
-- =============================================
-- Author:		Julian Kuiters
-- Site:		www.julian-kuiters.id.au
-- Create date: 3 July 2007
-- Description:	Print a message without waiting for your current batch / transation to complete
-- Example:		EXEC dbo.InstantPrint 'Started Loop'
-- =============================================
(	
	-- from www.julian-kuiters.id.au
	@Message nvarchar(2000)
)
AS
BEGIN
	RAISERROR (@Message, 0, 1) WITH NOWAIT;
END
GO
GRANT EXECUTE ON dbo.InstantPrint TO PUBLIC
GO
