Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Remove Last part

$
0
0

i have this data

ELECT  [item_id]  ,[f2] from [Regions]


1. ُEgypt
1.1. Cairo
1.1.21. New Cairo

i want to remove last part 

like in Egypt remove 1.

and on Cairo remove  last 1.

and on New Cairo last 21.



Viewing all articles
Browse latest Browse all 23857

Trending Articles