CREATE PROCEDURE [dbo].[ws_usuarios_activar] @codigo int AS SET NOCOUNT ON UPDATE usuarios SET estado=1 WHERE codigo=@codigo SELECT email,clave FROM usuarios WHERE codigo=@codigo GO