Skip to main content
Solved

Automatically remove unused attributes?

  • September 2, 2021
  • 1 reply
  • 122 views

aron
Supporter
Forum|alt.badge.img+16
  • Supporter

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.

View original
Did this help you find an answer to your question?

1 reply

Forum|alt.badge.img+2
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings