Subject | Re: [firebird-support] Database corrupt - how to tell which index to rebuild |
---|---|
Author | Dmitry Yemanov |
Post date | 2006-07-17T15:49Z |
"Bob Murdoch" <mailgroups@...> wrote:
update rdb$indices
set rdb$index_inactive = 3
where rdb$index_name = ?
-- to reactivate back
update rdb$indices
set rdb$index_inactive = 0
where rdb$index_name = ?
Hovewer, I wouldn't promise this trick will work in future FB versions :-)
Dmitry
>-- to deactivate it
> What if the index is the primary key? Can I alter inactive/active?
update rdb$indices
set rdb$index_inactive = 3
where rdb$index_name = ?
-- to reactivate back
update rdb$indices
set rdb$index_inactive = 0
where rdb$index_name = ?
Hovewer, I wouldn't promise this trick will work in future FB versions :-)
Dmitry