Incorrect syntax near 'hanis'. Unclosed quotation mark after the character string ''.

Autos_GetCountyByStateAndCity 'Texas', 'd'hanis'