Change search attribute to VARCHAR to work with Oracle.
[jan] Fix search attribute of SQL shares on Oracle.