sql: better varchar and varchar2 completion