Sorry about my lack of knowledge but, shouldn't all of these SELECT expressions be of "String" type? Wouldn't be a good idea to default it to String type?
Again, sorry if previous statement is stupid.