Sqlite is not creating a table

Asked

Viewed 35 times

0

Screenshots of the ERROR that appears.

Sqlite is not creating a table and I can’t fix the error if anyone can help me

print

  • Better detail your problem by informing the code snippet (text not image) where the error occurs. Prefer to inform the error text instead of the image.

1 answer

0

By the code being displayed in the error message, you are trying to make an insertion in the table table.

But you are creating a table with another name.

The code snippet of the Insert is not in the question, seeing by the error message displayed the correct command would be:

INSERT INTO tabela (id, nome) VALUES (?,?) 
  • Okay, it worked out!!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.