I'm a new to postgres. i have a table which is having a colomn with auto increment value. When I insert value to that table, it gives an error.
First column is the auto increment one.
Could some one help me?
$pgsql = "INSERT INTO xxx VALUES (null,'$FullNam e', '$DoB', '$Address','$Ph nNo' )";
Error in SQL query: ERROR: null value in column "No" violates not-null constraint
Error in SQL query: ERROR: null value in column "No" violates not-null constraint
First column is the auto increment one.
Could some one help me?
Comment