I am writing stored procedures to process our data. One of the requirement is to get the highest score from a list of vendors. In procdure A, I will evaluate the vendors by looking at their credit scores, capicacity and some other creteria. Then, in procedure B, I will calculate some other score only for those vendors passing procedure A.

Currently, I am using "object type" to pass the list of vendors with their property (address, id number, nationality and etc ...). Users are complaining performance and the company is thinking of getting rid of "object type."

Question: Does any one of you have comment of using "object type" to process data like the one I just described? Do you have any other approcach to achieve the same goal without using objects? What's is the pro and con of using objects? Any performance impact?