Select, onde está o erro:

Olá,

estou fazendo a seguinte select:
cQuerySql = "select * from ESTADOS where ABREVIATURA = " + S;

já tentei:
cQuerySql = "select * from ESTADOS where ABREVIATURA = " + ‘S’;

Mas sempre dá erro ao rodar. Informa que a coluna não existe.
GDS Exception. 335544569. Dynamic SQL Error
SQL error code = -206

Um exemplo: Seleciono o estado PR ao executar a select ela fica assim:
cQuerySql = "select * from ESTADOS where ABREVIATURA = PR;
eu acho que teria que ser assim:
cQuerySql = "select * from ESTADOS where ABREVIATURA = ‘PR’;

já resolvido:

cQuerySql = "select * from ESTADOS where ABREVIATURA = '" + S +"' ";