0
good morning.
I’m new to Pl/sql and I need to insert 110 records (Number 1 to 110) in a table ( table: stick) for each ID of the court table.
Insert would be more or less:
INSERT INTO vara(vara_id,foro_tribunal_id,nome)
VALUES (VARA_SEQ.nextval,"TODOS OS FOROS TRIBUNAIS DA TABELA FORO_TRIBUNAL",'1 (DE 1 A 110)');
I have approximately 97,000 records in the court table, would give approximately 10,670,000 Inserts.
What would be the best way to go through all the court table records and enter the 110 values for each record found ?
For each pair of data you want to enter 110 equal records only by varying the generated id?
– anonimo