AW: Proposal: TRUNCATE TABLE table RESTRICT

Поиск
Список
Период
Сортировка
Искать

AW: Proposal: TRUNCATE TABLE table RESTRICT

От:
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>
Дата:


> > How about this: Prevent truncate on table referenced by foreign key
> > 
> 
> Actually, I made it:
> 
> 	* Prevent truncate on table with a referential integrity trigger
> 
> Is that good?

No, I think that is only one point. I think you also need to
check if tables that are referencing this table are empty.

Andreas

FAQ