SAP Knowledge Base Article - Preview

2778603 - Msg 7124 raised from readtext when parameter 'size' uses numeric type - SAP ASE

Symptom

When using type 'numeric' for the parameter 'size' in command 'readtext', Msg 7124 is returned. It works fine when using type 'int'.

1> declare @a numeric(7,0)
2> select @a=77
3> readtext TableName.ColumnName 0x1d70010000000000000000005e23ad42 0 @a
4> go
(1 row affected)
Msg 7124, Level 16, State 1:
Server '<servername>', Line 3:
The offset and length specified in the READTEXT command is greater than the actual data length of 77.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

readtext, CR 818978, Msg 7124, numeric , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.