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 184.108.40.206 to 220.127.116.11 [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 'MSSQL18.104.22.168.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
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms