Skip to main content
Solved

Automatically remove unused attributes?

  • September 2, 2021
  • 1 reply
  • 146 views

aron
Enthusiast
Forum|alt.badge.img+16
  • Enthusiast
  • 136 replies

Sometimes one ends up with tables that contain empty columns. Is there a way to detect if an attribute is not being used, if it is "empty", and then remove it from the table? A automatic table cleaner of sorts. This would make the management of data "creep" a lot easier.

Best answer by markatsafe

@aron​ There have been a few solutions proposed over the years. @Takashi Iijima​ 's example is still working (you have to set the Python Compatibility to Python 3.+) . Also an old one here . Hopefully that give you some ideas.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img+2
  • 1891 replies
  • Best Answer
  • September 2, 2021

@aron​ There have been a few solutions proposed over the years. @Takashi Iijima​ 's example is still working (you have to set the Python Compatibility to Python 3.+) . Also an old one here . Hopefully that give you some ideas.