I have many tables with many unused fields(which don't have any data on it due to poor db planning)
I want to use VB code to print the list so that I can show it to my manager to convince him that our DB table needs restructuring.
Could you give me some pointers?
for all tables on this db
print table name
go to first table
for this table
go to first field
check if the field is used or not
if field is empty (no data)
print its name
end if
go to next field
end for this table
go to next table
end for all tables on this db
thank you in advance...
I want to use VB code to print the list so that I can show it to my manager to convince him that our DB table needs restructuring.
Could you give me some pointers?
for all tables on this db
print table name
go to first table
for this table
go to first field
check if the field is used or not
if field is empty (no data)
print its name
end if
go to next field
end for this table
go to next table
end for all tables on this db
thank you in advance...