Hi,
I am using UNIX to execute a script in sqlplus and this script spools a file. I have used wc -l and got the record count but it takes for ever to do so(The file is huge, at least a million records are in it).
Is there a way that the row count can be appended to the filename in the script or pass the row count out so that I can handle the appending process in UNIX?