I implemented a java class that given a select sql oracle creates a file (csv) (temporary) and sends it via e-mail with a scheduled process. I have a problem: the mail client has a send and receive size. How can I, given the select know how big my file will be? What other checks do you recommend to avoid generating the file and then not being able to send / receive?
Many thanks in advance