I'm using PostgreSQL 8.1.11.
And I'm losing my mind. Why can I not use a basic SQL statement as INSERT?
I provide:
INSERT INTO the_leads_details ( id, lead_id, question_id, i_value, c_value ) VALUES
( 1, 1, 1, NULL, '4500' ), ( 2, 1, 2, 1, NULL );
^ this comma is a problem
What I am missing? This seems like a basic SQL INSERT statement to insert multiple rows. Is my problem related to my PostgreSQL version?
I am inserting a lot of rows and I am looking to optimize INSERT multiple rows instead of placing several INSERTs.