FreeTDS - number of columns and rows
Ok, here's my question for today.
I am using FreeTDS to issue sql commands on a MS SQL Server database. Sometimes I'm running stored procedures..where the output number of column count varies. Is there a call I can make to figure out how many columns were returned?
Similar, I would like to know how many rows were returned before I start looping through them.