December 17, 2012 at 11:33 pm
Hello All,
I want to eliminate 1 digit from existing record from table for joing two tables.
December 17, 2012 at 11:39 pm
busappa (12/17/2012)
Hello All,I want to eliminate 1 digit from existing record from table for joing two tables.
Please provide more information like tables definitions, sample records and expected output.
December 18, 2012 at 12:14 am
Welcome to SQL Server Central busappa.
Following should do what you want :
Declare @string Varchar(10)
Set @string = 'Vinu'
Select STUFF(@String, LEN(@String), 1, '')
If this is not what you are looking for....then please have a look at the link in my signature and post DDL, sample data and the expected result set exactly as shown in the link......you would definitely get a solution to your requirements if you post accordingly.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply