I have a table as shown below:
I need to write a sql view that will show 1 row for the ReqNbr and then a column for the related service calls. For example the result set should look something like this:
ReqNbr, Call_Numbers
10010, 0000013147;0000013097;0000013149;
10592, 0000012994;0000012999;
and so on. I need a view that can do this as a function or stored procedure can't be used in the reporting tool that I'm dealing with. In addition I would like the Service Call to be sorted ASC in the column when returned.
Any ideas?