Hi I was wondering if there was a possibity to do something like this : create table a (a int primary key); create table b (b int primary key, a int[] references a(a)); to avoid having to create another table to join the two tables. -- Mathieu Arnold
Mathieu Arnold wrote: > Hi > > I was wondering if there was a possibity to do something like this : > create table a (a int primary key); > create table b (b int primary key, a int[] references a(a)); > to avoid having to create another table to join the two tables. > You could create table a, table containing b and a, and a view c, which refers to a and b, giving you the structure you want. -- Travis Bauer
On Thu, 21 Mar 2002, Mathieu Arnold wrote: > Hi > > I was wondering if there was a possibity to do something like this : > create table a (a int primary key); > create table b (b int primary key, a int[] references a(a)); > to avoid having to create another table to join the two tables. Not currently.
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера