Hi, Using PowerBuilder 2019 R3 build 2703 with SQL Server version ? ( I know it is new. 'SELECT @@version' returns Microsoft SQL Azure (RTM) - 12.0.2000.8 Jan 12 2023 05:25:39 Copyright (C) 2022 Microsoft Corporation )
DBMS=ODBC
DBParm=ConnectString='DSN=echarmsqa_az;UID=METAUSER;PWD=xxxxxx'
I am using embedded SQL statement in PowerBuilder code:
SELECT error_text INTO :ls_text FROM w_queued_event_error_log WHERE queued_event_id = :ll_q_id;
Actual length of the data in the data base table that I am expecting to get, is 38657 characters. but length of the returned string (ls_text) is only 32766 characters, Entire data, all 38657 characters returned when I run same SQL statement directly in the SQL Server Management Studio.
Column 'error_text' has data type 'Text'. Is anyone know why data get chopped off ?
Thank you in advance for your time and help.