Question : How do i find how many columns a .csv file has?

I need to read every line (from .csv file)  that has more than five columns.
How do I do this?

Answer : How do i find how many columns a .csv file has?

To count the delimiters in 11g, you can use the REGEXP_COUNT function

so, if you've read the contents of one line with utl_file or external table as described above  


 regexp_count(your_line,',')  will return the number of commas in that line
Random Solutions  
 
programming4us programming4us