Are you sure you need a procedure? Maybe a view would be better; this way it would be called at any one time and do a list with a count for you as well as be simply an extension of your current TSQL skills. BOL link for procedures; http://msdn.microsoft.com/en-us/library/ms187926.aspx BOL link for Views; http://msdn.microsoft.com/en-us/library/ms187956.aspx I'd suggest something like... Create View Vw_ListSoftware AS SELECT Name, Version, Count(Name) FROM SoftwareDataTable Bit basic and you've not really explained the table your holding the data but should give you an idea but sure there are a few MVPs hanging around that can do something a lot more clever! Scho