Viewing 10 posts - 1 through 10 (of 10 total)
Erik,
Great! Worked Perfectly
- Much appreciated, Rick
August 21, 2006 at 12:08 pm
You are correct, I saw the error last night when I reviewed the report. Your solution works for me!
Thanks!
August 3, 2006 at 8:11 am
I worked it out after some coffee and waking up!
What I have to work with was a field called Weekno, it's an int....
August 2, 2006 at 4:15 pm
This is perfect! - I was really taking the long road with no return.
Thanks again,
Rick
July 28, 2006 at 1:07 pm
Of course! can't believe I missed that completely - All is working Great! Thanks so much.
Rick
June 1, 2006 at 8:47 am
Just about complete - Now I have a proceeding comma before in the VNDList
The result that I get now after creating the the function.
Type callcenter VDNList
1B Fredericton ,1034,1534
June 1, 2006 at 7:48 am
Never mind I forgot the dbo. on my select.
Thanks for all your help
R.
June 1, 2006 at 7:07 am
Thanks - Sounds good, I created the function 'successfully' I think, now when I run my query
CREATE FUNCTION ConcatVDN (@type varchar(2), @center varchar(25))
RETURNS varchar(4000)
AS
BEGIN
DECLARE @VDNLIST varchar(4000)
SET @VDNLIST = ''
SELECT @VDNLIST...
June 1, 2006 at 7:04 am
Declare @VDNLIST varchar(4000)
SELECT @VDNLIST = COALESCE(@VDNLIST + ',','' ) + Cast (vdn as varchar(5))
FROM Rpm_Maintenance..vdn_partners AS a
WHERE type = '2b' and callcenter = 'Fredericton'
select @VDNLIST
This works great, thought...
May 31, 2006 at 12:57 pm
Viewing 10 posts - 1 through 10 (of 10 total)