Question Pardha Mutyala · Mar 14, 2018 Error When Inserting a HL 7 Message into SQL Database I am using SQL Outbound adapter and inserting a HL 7 Message by executing a stored procedure and getting an error ERROR #6022: Gateway failed: Execute.+ERROR <Ens>ErrGeneral: SQLState: (22001) NativeError: [0] Message: [Microsoft][ODBC SQL Server Driver]String data, right truncationThe reason i found is that segment delimiter is causing an issue and following is sample code #Ensemble 0 9 0 844