Posts by lcoelho • 1 point
2 posts
-
0
votes2
answers75
viewsA: Filter data table
Thanks for the tips Solved the problem DECLARE @teste varchar(100) SET @teste = '"brt_qsr01:NT"' select SUBSTRING(@teste,CHARINDEX('_',@teste)+1,CHARINDEX(':',@teste)-CHARINDEX('_',@teste)-1)…
sql-serveranswered lcoelho 1 -
0
votes2
answers75
viewsQ: Filter data table
How to select only part of a table record? Source data: "brt_qsr01:NT" and I intended it to return only qsr01 I’m doing so, but then I can’t remove the data on the left SELECT left([coluna],…
sql-serverasked lcoelho 1