inserting references
От | ktt |
---|---|
Тема | inserting references |
Дата | |
Msg-id | 20020614081408.46389.qmail@web13902.mail.yahoo.com обсуждение исходный текст |
Ответы |
Re: inserting references
|
Список | pgsql-general |
I have a table, which references values in other 3 tables. I would like to insert values in bananas, oranges and kivi tables and insert their bananas_id,oranges_id,kivi_id, country in fruits table. What are better methods for doing this(exept LAST_INSERT_ID())? Would be nice to use the most compact form. sample tables scheme ----------- ---------- ---------- ---------- fruits bananas oranges kivi ----------- ---------- ---------- ---------- fruits_id bananas_id oranges_id kivi_id bananas_id date_bn date_or date_kv oranges_id ---------- ---------- ---------- kivi_id country ----------- __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
В списке pgsql-general по дате отправления: