support string to VARCHAR

if size is defined, we can convert string type to SQL VARCHAR type,
without the need to cast between string and hood.Varchar.