Incorrect syntax near 'hanis'. Unclosed quotation mark after the character string ',''.
RE_GetSurroundingCities 'tx','Medina','d'hanis',''