﻿CREATE PROCEDURE [dbo].[sp_TraceError]
	(@CallingObject	 	[nvarchar](255),
	 @CallingUser	 	[nvarchar](255),
	 @ErrorDate	 	[datetime],
	 @ErrorDescription 	[nvarchar](1024))
AS INSERT INTO [dbo].[tErrors] 
	 ( [CallingObject],
	 [CallingUser],
	 [ErrorDate],
	 [ErrorDescription]) 
VALUES 
	( @CallingObject,
	 @CallingUser,
	 @ErrorDate,
	 @ErrorDescription)