我想UserData表中有两个USid,USname字段被修改时,UserData中的两个USid,USname字段也同进更新<br><br>SQL:<br>CREATE TABLE [dbo].[Organize] (<br> [AutoID] [int] IDENTITY (1, 1) NOT NULL ,<br> [Cname] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NOT NULL ,<br> [FatherId] [int] NOT NULL ,<br> [USid] [int] NULL ,<br> [onoff] [char] (10) COLLATE Chinese_PRC_CI_AS NULL <br>) ON [PRIMARY]<br>GO<br><br>CREATE TABLE [dbo].[UserData] (<br> [id] [int] IDENTITY (1, 1) NOT NULL ,<br> [USid] [int] NOT NULL ,<br> [USname] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NOT NULL ,<br> [USbm] [nchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,<br> [USsex] [nchar] (5) COLLATE Chinese_PRC_CI_AS NULL ,<br> [UShf] [nchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USsg] [nchar] (2) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USxn] [nchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USxx] [nchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USzc] [nchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USde] [datetime] NULL ,<br> [USjg] [nchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USdz] [nchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,<br> [UStel] [nchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USrzde] [datetime] NULL ,<br> [USzw] [nchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USjb] [nchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USbz] [nchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,<br> [USbz1] [nchar] (50) COLLATE Chinese_PRC_CI_AS NULL <br>) ON [PRIMARY]<br>GO