Hi
Bandi
I need split string here no need function only sql query.
Create table Test1
(
id int primary key identity(1,1),
Ename varchar(50)
)
Insert into Test1 values('\\PCNAME\Docs\Reports\Rpt.Rdlc')
Insert into Test1 values('\\PCNAME\Docs\Reports\1.rpt')
Insert into Test1 values('\\PCNAME\Docs\Reports\5.xml')
Select * from Test1
--- I need output this
-- Id Ename
1 Rpt.Rdlc
2 1.rpt
3 5.xml
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com