I just created a new trigger for a table, Is their a way to run the trigger on all of the previous records in the table? or should I be doing something else. the trigger is an insert trigger. It basically moves information to another table.
I would definetly not want to affect all the records inthe table in a trigger. If you write it that way, then it willhappen every tim ea record is inserted.
Put the update code into a SQL statement and run from query analyzer to update the existing records.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.