Hi All,
I have a simple question regarding best practices in programming.
I have a DB which contain members. After some processing I get a list of users who need to be disabled in DB.
I have a stored procedure which takes UserId as Input and disable the user.
Since I am sure that I always have to disable more than one user, I am thinking to make input parameter for stored procedure as a Array of Ids rather than Id.
By doing this I thought I don't have to invoke the SP n times.
Is this a good programming practice?