I am in the process of normalizing and re-creating a database that was a total maintanence mess. Currently the database has 640 tables. each table is an assembly and contains the data of its sub parts. Now I have created a new database that will incorporate only a hand full of tables.
1 for the part info
1 for assembly reference
1 for category info
1 for category reference
etcetc...
What I would like to do create a query that will search the old database for the table assembly part numbers, given a sub-assembly part number.
so for instance I have the part LH1890 I would like to find all of the assemblies that part belongs to, I would need the table name.
I read on the mysql forums that you can do this according to a specific column, but I need it to search the specific value of a given column....
http://dev.mysql.com/doc/refman/5.0/en/information-schema.html
1 for the part info
1 for assembly reference
1 for category info
1 for category reference
etcetc...
What I would like to do create a query that will search the old database for the table assembly part numbers, given a sub-assembly part number.
so for instance I have the part LH1890 I would like to find all of the assemblies that part belongs to, I would need the table name.
I read on the mysql forums that you can do this according to a specific column, but I need it to search the specific value of a given column....
http://dev.mysql.com/doc/refman/5.0/en/information-schema.html
Comment