0
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], CHARINDEX(':', [coluna]) -1 ) FROM [dbo].[tabela]
A while ago I answered this: How to remove keywords between keys { } in the Mysql field? that looks a lot like what you want!
– Marconi
And what is the rule to remove the prefix, so that it is only
qsr01
?– José Diz