The only thing I can see is, either go ahead and develop new your own code, or do some R&D on database table's structure