iamguyster
Technical User
Hi,
I am running a SP counting the records linked to a table containing colleges. So, if College A has 2 records in this table, College B 6 records and College C 4 records I see the following:
CollegeName NoOfRecords
-------------------------
College A 2
College B 6
College C 4
But if I have another College with no records, obviously it doesnt show up in the returned recordset. Is there a way to get it to show up. So I would get a recordset as follows
CollegeName NoOfRecords
-------------------------
College A 2
College B 6
College C 4
College D 0
Thanks for any help. If anyone thinks they can help and would like to see the SQL I used I would be happy to provide it. It consists of outerjoins across 5 tables so I'd rather know if there is an easy explanation before muddying the waters with a load of SQL in my post.
G
I am running a SP counting the records linked to a table containing colleges. So, if College A has 2 records in this table, College B 6 records and College C 4 records I see the following:
CollegeName NoOfRecords
-------------------------
College A 2
College B 6
College C 4
But if I have another College with no records, obviously it doesnt show up in the returned recordset. Is there a way to get it to show up. So I would get a recordset as follows
CollegeName NoOfRecords
-------------------------
College A 2
College B 6
College C 4
College D 0
Thanks for any help. If anyone thinks they can help and would like to see the SQL I used I would be happy to provide it. It consists of outerjoins across 5 tables so I'd rather know if there is an easy explanation before muddying the waters with a load of SQL in my post.
G