Database Gateway for SQL Server (DG4MSQL) LENGTH Function Returns Bytes Rather Than Characters
Last updated on JULY 12, 2017
Applies to:Oracle Database Gateway for SQL Server - Version 18.104.22.168 to 22.214.171.124 [Release 11.2 to 12.1]
Information in this document applies to any platform.
Using Database Gateway for MSQL (DG4MSQL) it is noted when using the Oracle LENGTH function, it maps its equivalent MS SQLfunction to DATALENGTH.
Looking at HS_CLASS_CAPS, the ORACLE LENGTH function is mapped to MSSQL
DATALENGTH for 'MSSQL126.96.36.199.0_0023'. Previously, with HSODBC in version
9.2 and the SQL Server ODBC driver used at that version it mapped to MS SQL LEN
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms