Need Help to make SQL SERVER Query
-
Hi I have a table CandidateTab Which contain the CandidateId and Skill fields and data in this table are in following format. CandidateID Skill --------------------------- 10 VB.net 10 ASP.net 10 C# 11 Oracle 11 SQL SERVER How can I make a query to get result in following format CandidateID Skill 10 VB.net,ASP.net,C# 11 Oracle,SQL SERVER Thanks Arvind
-
Hi I have a table CandidateTab Which contain the CandidateId and Skill fields and data in this table are in following format. CandidateID Skill --------------------------- 10 VB.net 10 ASP.net 10 C# 11 Oracle 11 SQL SERVER How can I make a query to get result in following format CandidateID Skill 10 VB.net,ASP.net,C# 11 Oracle,SQL SERVER Thanks Arvind
-
Hi I have a table CandidateTab Which contain the CandidateId and Skill fields and data in this table are in following format. CandidateID Skill --------------------------- 10 VB.net 10 ASP.net 10 C# 11 Oracle 11 SQL SERVER How can I make a query to get result in following format CandidateID Skill 10 VB.net,ASP.net,C# 11 Oracle,SQL SERVER Thanks Arvind
Try this also.. its little bit matching to ur prob.. OR is it ok to doing this through cursors? USE pubs GO DECLARE @title_ids varchar(150), @delimiter char SET @delimiter = ',' SELECT @title_ids = COALESCE(@title_ids + @delimiter, '') + title_id FROM titles SELECT @title_ids AS [List of Title IDs] D!shan
-
Hi I have a table CandidateTab Which contain the CandidateId and Skill fields and data in this table are in following format. CandidateID Skill --------------------------- 10 VB.net 10 ASP.net 10 C# 11 Oracle 11 SQL SERVER How can I make a query to get result in following format CandidateID Skill 10 VB.net,ASP.net,C# 11 Oracle,SQL SERVER Thanks Arvind
THANKS,I will try it Arvind Arvind