ak4zh
03/12/2022, 8:44 AMNeedle
03/12/2022, 8:44 AM/title
command!
We have solved your problem?
Click the button below to archive it.silentworks
03/12/2022, 9:58 AMNeedle
03/12/2022, 9:58 AMak4zh
03/12/2022, 10:21 AMsilentworks
03/12/2022, 11:20 AMak4zh
03/23/2022, 7:14 AMsql
CREATE TABLE public.people (
id SERIAL PRIMARY KEY,
name text NOT NULL
);
-- this will insert the rows
INSERT INTO public.people
(id, name)
VALUES
(1, 'foo'),
(2, 'bar');
-- this query will try to push rows from id 1
-- so will fail n times, n = number of rows inserted manually with id
INSERT INTO public.people
(name)
VALUES
('nfoo'),
('nbar');
silentworks
03/23/2022, 10:11 AM