0
I need to check a variable on MySQL similar to that of the SQLSERVER. where i check return on a variable in the bank’s own message
example in SQLSERVER I do so:
DECLARE @nome VARCHAR(20) = 'NOME'
PRINT @Nome;
when running this code the database returns me: NAME.
But I can’t do it in MySQL
Try using SET instead of DECLARE.
– Kayo Bruno
@Kayobruno "in place" I think it is not possible, if change the
declareforsetwon’t work, maybe use asetafter thedeclareThat’s what you meant?– Ricardo Pontual
Has any response helped solve the problem and can address similar questions from other users? If so, make sure to mark the answer as accepted. To do this just click on the left side of it (below the indicator of up and down votes).
– Sorack