Article ID: KB6681218
TD-23684: Error 20057 "[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index " when selecting a column of type NVARCHAR(MAX)
Applies to
Gupta Team Developer (TD) 6.3.9, 7.0.2
Summary
When selecting a column of type NVARCHAR(MAX), Error 20057 "[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index " might appear.
Workaround
Make sure your SQL.INI longbuffer value is >= 65535.
Cause
SQL.ini longbuffer setting < 65535, default being 32000 when not set in the SQL.INI.
TD-23684: Error 20057 "[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index " on type NVARCHAR(MAX)
-
- Founder/Site Admin
- Posts: 3437
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
TD-23684: Error 20057 "[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index " on type NVARCHAR(MAX)
Regards,
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
-
- Founder/Site Admin
- Posts: 3437
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: TD-23684: Error 20057 "[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index " on type NVARCHAR(MAX)
This defect is fixed in TD 6.3.10
Regards,
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Who is online
Users browsing this forum: [Ccbot] and 2 guests