Not really used triggers before, so please bare with me.
I want to update a field in a table, every time that table has a new insert.
From the row that is inserted, i want to take the value from the column (this will always be populated with something)
Then query that against an sql statement, using the value in the where section.
This will only bring back 1 column, with 1 row, and then use that value to update a column in the original table.
Does that make sense!!!!
What i am doing, each time a user log onto the network i store the ip address and username into a table (this is the information i am looking to grab, in the where statement).
I then get syslogs from the firewall, which is stored in another table in the same database, i want to update the row with the username, from the User_Table.
Many thanks for reading.
I want to update a field in a table, every time that table has a new insert.
From the row that is inserted, i want to take the value from the column (this will always be populated with something)
Then query that against an sql statement, using the value in the where section.
This will only bring back 1 column, with 1 row, and then use that value to update a column in the original table.
Does that make sense!!!!
What i am doing, each time a user log onto the network i store the ip address and username into a table (this is the information i am looking to grab, in the where statement).
I then get syslogs from the firewall, which is stored in another table in the same database, i want to update the row with the username, from the User_Table.
Many thanks for reading.