Posts by BrunoLima • 11 points
1 post
-
1
votes2
answers5887
viewsA: Removing part of a string - SQL Server
I’ve made an example that covers a lot of cases. Example: .txt file, .secreto.txt file, .jpeg file. Declare @campo varchar(100) = 'Arquivo.txt' select left(@campo,len(@campo) -…