Added check to work with Bloba nd other sql types