Have a column in Table A, want that column to be set to the value in another column that resides in Table B.
Example :
Table A.user_Field = Table B.Client_Num
They would be related on a primary/foreign key Table A.HTenant(FK) = Table B.hmyperson (PK)
What is the best way to go about this? A Trigger, set it on the column itself, or the table creation? Am using SQL 2005 and just not sure how this works.
Any info or information you could point me to is greatly appreciated. Thanks
Mike
Example :
Table A.user_Field = Table B.Client_Num
They would be related on a primary/foreign key Table A.HTenant(FK) = Table B.hmyperson (PK)
What is the best way to go about this? A Trigger, set it on the column itself, or the table creation? Am using SQL 2005 and just not sure how this works.
Any info or information you could point me to is greatly appreciated. Thanks
Mike