I am currently using the Oracle UTL_COMPRESS.LZ_COMPRESS() to compress some data. But the problem is that it compresses the thing using the GZIP format, which, unfortunately, is also not compatible with ZIP. Therefore, Windows XP's own decompression program cannot open it (you know that the thingie compressed folder). And the user must use another utility, for example 7Zip , Winzip or Filzip , etc., to unpack it.
So, we have a plan to extract GZIP data from Oracle, unzip it using Java and compress it back to ZIP (something that can be unzipped by Windows). This sounds funny for compress-in-gzip -> decompress -> compress-again-in-zip .
Any idea how we can compress it in the desired format in the first place in order to avoid all the extra calculations?
oracle plsql stored-procedures zip utility
Adele ansari
source share