Posts by Spec4422 • 11 points
2 posts
- 
		1 votes2 answers1581 viewsA: Function with Insert according to a select that returns a list of ID’s - PostgresqlI found the solution in the simplest way and I have done several times. (so far I have not dropped the plug that I entered this world of loop just for this). INSERT INTO tb_3 (tb_1_id, tb_2_id) (… 
- 
		0 votes2 answers1581 viewsQ: Function with Insert according to a select that returns a list of ID’s - PostgresqlI need to make a Rigger after insert calling a function that takes the last record inserted into a certain table and inserts the ID of that last record into another table according to a select that…