How to select only part of the record from a table?
Source data:
"brt_qsr01:NT"
and I intended it to return only qsr01
I'm doing this, but then I can not remove the data on the left
SELECT left([coluna], CHARINDEX(':', [coluna]) -1 ) FROM [dbo].[tabela]