How can I test that a text variable has a value that represents a valid datatype, other than writing something like: variable IN ('integer', 'text','float'...)?