Incorrect syntax near 'ap'.

SELECT k_id FROM d_vacancies WHERE k_id = 9ap