Jump to content

Symlink fields in a table?


tyler

Recommended Posts

I have 3 tables,

 

table1

table2

table3

 

They all have the same field;

 

field1

field1

field1

 

Therefore, when anything gets changed in field1, it needs to update it 3 times. Is there a way to symlink the fields in the other 2 tables so it just looks at table1\'s field1 for the other 2 tables?

 

Thanks,

-t

Link to comment
https://forums.phpfreaks.com/topic/1029-symlink-fields-in-a-table/
Share on other sites

That\'s precisely the reason why data should be held in one place and not duplicated across tables. The only things that should be duplicated are (non-changing) key references for joining tables.

 

What is the structure of your 3 tables?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.