I've got a SQL script that uses UTL_FILE to generate a text file in XML format. Script works great, thanks to some help from Santa Mufasa (
Recently discovered that, due to external system limitations, a single text file cannot have more than ~20k records. My script will sometimes create a file containing more than 20k records.
Is there a way to put in logic to create .txt1 and then at record number 20,001, start putting the data into .txt2 and so on?
Recently discovered that, due to external system limitations, a single text file cannot have more than ~20k records. My script will sometimes create a file containing more than 20k records.
Is there a way to put in logic to create .txt1 and then at record number 20,001, start putting the data into .txt2 and so on?