Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2007-01-24 : 08:18:47
|
| Amir writes "Dear Team Members;Im writing a program in ASP language which it is using SQL Server for database.I want to know how to create a link between fields of two tables. For example:I have a table named: Projects containing:p_namestatusdatemember1member2and another table named results containing:p_names_statusstatus1status2I want to create a link between field s_status of STATUS table and field status of table ProjectsUsers are sending data to table projects, when a user send some data to status of projects, I want this link to send data from status in project to s_status of results.Could you please help me how to do it?Regards.Amir Zandi" |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-01-24 : 08:26:32
|
the link is trigger.You can create insert and / update trigger on projects table that will update results table whenever records are inserted or updated in projects table. KH |
 |
|
|
|
|
|