Posted by: Philippe Belet
I'm using SalStrCompress to store a long string in an Oracle DB (long).
The problem that I'm having is that the compressed string, that is
saved in the DB isn't the same string as the original one after
The result after the uncompress is about half as long...
Any ideas ??
- Site Admin
- Posts: 2167
- Joined: 04 Mar 2017, 18:34
- Location: Palm Springs, California
Posted by: Jeff Luther
Find out what the value for the parameter LONGBUFFER is in your SQL.INI file.
That might be the problem. You can read about that parm. in, CCOD.PDF,
"Connecting Gupta Objects to Databases" There's a link on my page below to
the Gupta documents.
As a test, I would compress a Long String "about half as long" as the one
you have been testing, and see if it compresses and uncompresses ok. That
1/2 length value may be what LONGBUFFER is set to (?)
Jeff Luther/PC Design
Who is online
Users browsing this forum: [Ccbot] and 0 guests