I think i need a stored procedure, but unsure where to begin.
I want to send 3 fields to it, lets called the F1, F2 and F3.
These to be queries against another table in the same db, which will bring back multiple rows.
With these rows i want to loop through each one and grab a text field, and combine them all together to make 1, but in between each one put a carriage or 2.
Am i thinking a stored procedure is what i require, if not can anyone advise me what i should be looking to do.
Many thanks in advance.
I want to send 3 fields to it, lets called the F1, F2 and F3.
These to be queries against another table in the same db, which will bring back multiple rows.
With these rows i want to loop through each one and grab a text field, and combine them all together to make 1, but in between each one put a carriage or 2.
Am i thinking a stored procedure is what i require, if not can anyone advise me what i should be looking to do.
Many thanks in advance.