tokens: This is because the value of parameter @resultado is never declared and in your CASE statement you are adding a NULL value to a known value which will always equal NULL .
ner_tags: O O O O O O O B-Variable O O O O O O B-Code_Block O O O O O B-Value O O O O O O O O O B-Value O