Hi,
I am totally new to sql server. I have this problem: When I make a new entry in a table (Table1, with a field "ID_number" of type 'int identity(1,1)'), I want this value (the ID_number) to be inserted automatically into another table (Table2). I browsed a lot on the internet for Sql Server Tutorials and I saw something called "Trigger". Is it the right tool to use? How can I use it to do what I want?
Thanks a lot.
I am totally new to sql server. I have this problem: When I make a new entry in a table (Table1, with a field "ID_number" of type 'int identity(1,1)'), I want this value (the ID_number) to be inserted automatically into another table (Table2). I browsed a lot on the internet for Sql Server Tutorials and I saw something called "Trigger". Is it the right tool to use? How can I use it to do what I want?
Thanks a lot.