This is the stored procedure that inserts the new entry into tableA
CREATE PROCEDURE [dbo].[mmap_sp_Insert_OutgoingMessages]
@inp_SendDateTime AS DATETIME = NULL,
@inp_Sender AS NVARCHAR(30) = NULL,
@inp_MessageText AS NTEXT = NULL,
@inp_Status AS INTEGER = NULL,
@inp_DateTimeSent...