IronBeaver
Programmer
- Mar 7, 2004
- 19
My Res3700 v3.0 Database is not validating. Specifically from the validation log:
Validating "micros".dly_rvc_cmpst_mi_ttl
Run time SQL error -- Foreign key CFK1DLY_RVC_CMPST_MI_TTL has missing index entries
Further investigation shows this is the foreign key for the mi_seq in mi_def:
I could probably find the exact entries in the dly_rvc_cmpst_mi_ttl table by doing an outer join with the mi_def on mi_seq, but would this do me any good?
Do I have the privileges to fix this myself?
I noticed that the dly_rvc_cmpst_mi_ttl table is getting quite huge, as its keeping history since the very first day of install on every menu item. Is there a way to purge some of this?
Is there an end-of-year/annual procedure not being utilized?
The micros.db file is almost 600MB, is that big (I suppose this depends on the size of the operation)?
Thanks in advance.
Validating "micros".dly_rvc_cmpst_mi_ttl
Run time SQL error -- Foreign key CFK1DLY_RVC_CMPST_MI_TTL has missing index entries
Further investigation shows this is the foreign key for the mi_seq in mi_def:
Code:
ALTER TABLE "micros"."dly_rvc_cmpst_mi_ttl"
ADD FOREIGN KEY "CFK1DLY_RVC_CMPST_MI_TTL" ("mi_seq")
REFERENCES "micros"."mi_def" ("mi_seq")
I could probably find the exact entries in the dly_rvc_cmpst_mi_ttl table by doing an outer join with the mi_def on mi_seq, but would this do me any good?
Do I have the privileges to fix this myself?
I noticed that the dly_rvc_cmpst_mi_ttl table is getting quite huge, as its keeping history since the very first day of install on every menu item. Is there a way to purge some of this?
Is there an end-of-year/annual procedure not being utilized?
The micros.db file is almost 600MB, is that big (I suppose this depends on the size of the operation)?
Thanks in advance.