Find Unused Table Entries
I'm working on clean up project with our Majors. Does anyone know how to “easily” figure out which entries are not being used? If I could just delete those, without having to run individual queries that would be awesome.
Comments
-
Hi @Ann Johnson - Welcome to BB Community! The easiest way I can think of to do this, is to go directly to the table list in configuration and try to delete it. If the entry was used anywhere in the system, the system will prevent you from deleting it.
1 -
@Austen Brown Yep..that's what I was doing. Do you think I could use the Delete Table Entry Plugin? You can ask it to delete all table entries. However, it says that it will give you an error for any and all that have a record attached to them. Would it be crazy to do this process to delete the unused ones? My theory is that it would only delete the ones that are empty, which would solve part of my issue. Too risky?
0 -
Hi @Ann Johnson - Because the KB for this says “Please ensure you have removed the table entry from all records in your database before attempting to run the Delete Table plug-in” (Article 109175) - I would err on the side of caution, and go manually, one-by-one through the tables.
1 -
I have started with what @Austen Brown initially suggested. Once I see what I have left, I have a few queries I have created to look for specific tables, usually working with one particular entry I want to delete at a time. Then I can just pull the specific records and access them directly from the query to correct them (since there are usually one or a handful of entries using a rogue entry).
Something else you can consider doing while at Config-Tables is to clean up the entries. Our School table is a mess, thanks to people having had write access to the table. So I have the University of Kentucky listed as UK, Univ of KY, Univ. of KY, Univ of Kentucky, etc. If you have similar issues you can combine those easily with the Table Cleanup button at the top.
Good luck! I start something like this and end up finding five other things to do. ?
5 -
The problem I've had doing this is that there have been some table entries, which RE says it can't delete because they're used in a record, but I haven't been able to find them as they're not used anywhere we normally use the table. There are some that I've never been able to find.
2 -
I don't think this applies to the Majors table, but be aware that SOME tables will let you delete entiries even if they are in use. Anecdotally this seems to be the ones that were originally text fields and we have changed to lookups.
@Steve Townsend do you have any examples of ones you've been unable to find? Maybe the community can come up with some suggestions! ?
0 -
Unfortunately not, I haven't done this for a while and didn't keep a list.
0 -
A bit late to this discussion and I don't have a solution- but I just wanted to say that I've also encountered this- table entries that say they're being used, but don't show up in queries, etc. Maybe someday I'll stumble across the reason in trying to fix something else (generally how most of my “aha” moments happen!) but I haven't yet.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 401 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 792 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


