I have a query, I'm trying to concatenate this update
update tdato set valor= (select max(valor)+1 from tdato)
the value that returns me plus a text, try trying to contact it in the following way:
update tdato set valor = ('AG-')+convert(varchar,(select max(valor)+1 from tdato))
But it has not worked for me and in documentation I do not find anything useful.
Beforehand, thanking your contributions.