What I want to do is check to see how many rows were returned from a database select using the DBI. If it is only one row I want to do one thing, if it is more than 1 row I want to do something completely different. So how do I find out how many rows I have gotten back before I start printing out data? Is there a way to check that at the execute stage? Or somewhere between execute and the fetch?
Thanks for any help provided.
In reply to Checking return results from an execute by slvr_dagger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |