Reference integrity question

Поиск
Список
Период
Сортировка
От Evgen Potemkin
Тема Reference integrity question
Дата
Msg-id Pine.LNX.4.33.0212271659220.19571-100000@ns.terminal.ru
обсуждение исходный текст
Ответы Re: Reference integrity question  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Good time of day!

I have two tables news(newsid int4, newscltid int4 references clt(cltid) match full,newstext text)
and clt(cltid int4, somedata text).
after clt is renamed , for ex. to clt_old, newscltid start to reference to clt_old.cltid. i'm create new table
clt(cltidint4, anotherdata text);
 

is there any way to make newscltid reference to newly created clt, beside
recreation of news ?

thank in advance,

---
.evgen





В списке pgsql-sql по дате отправления:

Предыдущее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Execution Plans and Casts
Следующее
От: scottrarndt@aol.com (ScottRArndt)
Дата:
Сообщение: Re: Stuck on SQL Query where a calculated value is used for a join.