I am trying to create a series of alphabets using SQL Server.
Suppose I have tables as follows
DECLARE @Funding TABLE (FundingDetailID INT,FundingID INT, DetailDescription VARCHAR(50))
INSERT INTO @Funding (FundingDetailID ,FundingID , DetailDescription) VALUES (1,107,'Desc 1')
INSERT INTO @Funding (FundingDetailID ,FundingID , DetailDescription) VALUES (1,107,'Desc 2')
INSERT INTO @Funding (FundingDetailID ,FundingID , DetailDescription) VALUES (1,107,'Desc 3')
I am trying to get the following result.
a) Desc 1
b) Desc 2
c) Desc 3
How do I create "a)", "b)",...? I am not allowed to add an extra temporary table or table variable to store alphabets initially. They must be generated.
And that should be done in SQL Server 2005.
Any thoughts?
thank
Famously cheran joseph
source
share