I think this should be simple. I have a stored procedure that returns a dataset with a table of invoices that have not been printed. I would like it to also return a second table that contains the customer ID and a count of the invoices in the first table. I have other procedures that return two tables in a dataset, but none that have this kind of relationship. I can do this in the application, but would like to have SQL do it. The database is in SQL 2000
Auguy
Sylvania/Toledo Ohio
Auguy
Sylvania/Toledo Ohio