I'm writing an Apache::ASP program to upload a file and store it in a LOB column in DB2. Is there a way to store the uploaded file in pieces, i.e.
while(read($filehandle, $data, 1024)) { # data from the uploaded file read into $data # load all $data into a LOB column }; I know the uploaded file can be stored in a file and then the file, in turn, is bound to a LOB column. But this is extra processing. I also know that I can store the whole file in a variable but that could take up a lot of memory. [EMAIL PROTECTED]