This one DOES NOT work fine:
ALTER PROCEDURE rconte.spPesquisaPesIdDadoCodigo24
(
@pPesCodigo24 char
)
AS
SELECT pesId FROM tblPesquisas where pesIdentificadorRandomico24ParaEmail = @pPesCodigo24
RETURN
This one WORKS FINE:
ALTER PROCEDURE rconte.spPesquisaPesIdDadoCodigo24
(
@pPesCodigo24 char(24)
)
AS
SELECT pesId FROM tblPesquisas where pesIdentificadorRandomico24ParaEmail = @pPesCodigo24
RETURN
Why, please ?