| Dec 18 |
Multiple SQL Queries in a Stored Procedure.Working on a Thursday afternoon, I came across a problem where we had to return multiple counts (about 10 of them ) in an application. One way was to have multiple stored procedures and call them one by one, but this would mean I would have to make 10 connections to the database and 10 opens , 10 closes, phew !
So I decided to combine all of them into one:
|