MI5 Persecution: Molestation. during TravelMI5s persecution of me varies in intensity. Since 1990 it...
By ifvfm_bigfoot_com
I have installed Oracle 8i successfully and now I need to create multiple databases. I have tried un...
By developer
hi all,I want to display picture in forms,but first i want to create BLOB column in table then to sa...
By aa
My questions is as follows:Export from: Oracle 8.17 (on Unix)Import to: Oracle 8.05 (Windows2000)How...
By developer
hello!i've created a new repository with configuration-assistant. next step i want to connect v...
By developer
Where can I get Oracle 8i for Linux free (CD-ROM)...
By baskaranc
Hello,a customer of ours in Germany said that he "won" an Oracle 8i Enterprise Edition for Linux CD....
By developer
I am using to toad to execute queryIn my table there is two columns one column is PHOTO OF blob data...
By user549774, 1 Comments
Please could somebody advise if Oracle 8i (8.1.7) is compatible with z/OS 1.7 either as is or with s...
By user477051, 4 Comments
Hello,i have I couple of procedures which were running perfectly on 10.2.0.1.After the upgrade to 10...
By hsimon, 14 Comments
Where I can get Oracle 8i for Solaris ( intel) ?...
By andyoye, 3 Comments
hi all,I want to display picture in forms,but first i want to create BLOB column in table then to sa...
By aa, 3 Comments
I have recently installed Oracle 8i for NT. I'm unable to connect to the database using the con...
By developer, 1 Comments
Hi All,I've actually never really worked with BLOB's or CLOB's. So, I have aquestion ...
By amerar_iwc_net, 2 Comments
Hi - I have two series with a link defined (below) - but I get A SQL parse error at runtime. ANy ide...
By john_fak_unisys_, 1 Comments
Why would anyone use a backend stored procedure to zip an OS file? Can't you use zip or gzip?
sundarm | Sat, 23 Feb 2008 17:46:00 GMT |
My clinet doesn't allow use of any shell scripts, thats' why i need to write a procedure to achieve this.
user558620 | Sat, 23 Feb 2008 17:47:00 GMT |
Well then, just tell the client it can't be done.
3360 | Sat, 23 Feb 2008 17:48:00 GMT |
That's not a shell script command. It's an UNIX command. Are you allowed to use other unix commands ?
sundarm | Sat, 23 Feb 2008 17:49:00 GMT |
In 10g, you can read and write files using UTL_FILE and zip it using UTL_ZIP. In 8.1.5 and later, you can write a Java stored procedure that would do the same thing using Java's File and zip classes.
Justin
justincave | Sat, 23 Feb 2008 17:50:00 GMT |
Justin, Did you mean UTL_COMPRESS?
For OP,
The following thread has an example on creating a compressed file, but it won't be a valid zip file. Check out solution of michaels.
http://forums.oracle.com/forums/thread.jspa?messageID=1767450�
Message was edited by:
Sundar M
sundarm | Sat, 23 Feb 2008 17:51:00 GMT |
Yes, I did. Glad someone is paying attention.
I recently had to do this with a Java stored procedure, and UTL_ZIP was the PL/SQL wrapper I put around its methods. Oops.
Justin
justincave | Sat, 23 Feb 2008 17:52:00 GMT |
Justin,
Sorry i went for lunch. that's why i couldn't respond quickly. Could you please me the examples if you have any.
Thanks,
Cahndra
user558620 | Sat, 23 Feb 2008 17:53:00 GMT |
I believe Sundar provided a link to an example using UTL_COMPRESS and UTL_FILE.
Justin
justincave | Sat, 23 Feb 2008 17:54:00 GMT |