Erro no update

4 respostas
S

Alguem saberia me dizer oq ha de errado com esse update

update TB_PERFIL set DS_PERFIL = ‘teste OK’ GRAVA = ‘S’ where ID_PERFIL = 13

na hora de inserir, deletar e pesquisar nao tem problema so no update. Estou usando o prostgre e o erro e esse:

ERROR: syntax error at or near “grava” at character 45

se alguem pode me ajuda agradeço.

valeu

4 Respostas

zelopes

rapaz…uma vírgula resolve?

update TB_PERFIL set DS_PERFIL = ‘teste OK’ , GRAVA = ‘S’ where ID_PERFIL = 13

_fs

Não falta uma vírgula depois de “DR_PERFIL = ‘teste OK’”?

thiago.correa

Não falta vírgula entre os campos???!

update TB_PERFIL set DS_PERFIL = ‘teste OK’, GRAVA = ‘S’ where ID_PERFIL = 13

thiago.correa

Legal, todos foram unânimes, eheheheheh

Criado 3 de abril de 2006
Ultima resposta 3 de abr. de 2006
Respostas 4
Participantes 4