I have a SQL script like this which I run from the command line using psql:
insert into "A"."B" values
(1, 'name=a', '[email protected]', 'K')
How do I convert it into INSERT command inside a database?
INSERT INTO "A"."B" (first_column, second_c, third_c, fourth_1)
VALUES ('2', 'name=a', '[email protected]', 'K');
Also what does "A"."B" do? I read somewhere that double quotes are needed when table name has Capitals. I seem to get an error with that when I run commands inside the database.
"A"."first_column"means: a table namedfirst_columnin a schema named"A"insertstatement, so what exactly are you trying to "convert"?