Hi,
I am in need of a function which needs to take a letter and convert it to it's equivalent number.
My aim is to take a set of letters (i.e ABCDEXYZ) and return the numbers 1, 2, 3, 4, 5, 24, 25, 26.
I don't really want to use a Select Case function because it seems a bit too long winded and I was hoping there was a simpler solution.
Thanks
John
.NET 2.0, Visual Studio 2005, SQL Server 2005 Express
I am in need of a function which needs to take a letter and convert it to it's equivalent number.
My aim is to take a set of letters (i.e ABCDEXYZ) and return the numbers 1, 2, 3, 4, 5, 24, 25, 26.
I don't really want to use a Select Case function because it seems a bit too long winded and I was hoping there was a simpler solution.
Thanks
John
.NET 2.0, Visual Studio 2005, SQL Server 2005 Express