Updated for spaces and older ntext datatype