LONG_VARCHAR scalar function The LONG_VARCHAR function is deprecated and might be removed in a future release. LONG_VARCHAR(character-string-expression ) The function is compatible with earlier Db2® versions.