title: counting number of lines of a text file in a stored procedure
body: <p>I need to open and count the number of lines in a text file using a stored procedure. The stored procedure should return a value whenever executed. Can you help me?</p>