resulting database column types should be lowercased for comparison after stripping parameters, see issue #330