M
M
Macho_I_Botan2021-01-09 01:46:11
SQL
Macho_I_Botan, 2021-01-09 01:46:11

What is wrong with creating the table?

I want to create a table on heroku

CREATE TABLE Drive_in (Koli text);
;
but it gives an error -
ERROR: syntax error at or near "CREATE"
LINE 2: CREATE TABLE Drive_in (Koli text);
^

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
galaxy, 2021-01-09
@galaxy

You have CREATE TABLE... is the second line of the query. What's on the first? Didn't close the previous request? Garbage from unprintable characters?

A
Alexander Klyat, 2021-01-09
@DoctorProger

Added an extra semicolon

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question