troubleshooting Question

Trigget to update a field from the same table

Avatar of Cobra967
Cobra967Flag for United States of America asked on
Microsoft SQL Server 2005SQL
5 Comments1 Solution224 ViewsLast Modified:
Hello, I am new to trigger and I need help to create a trigger that will copy the content from ColumnA and ColumnB into ColumnC. The trigger will fire when Data in ColumnA or ColumnB is: Typed  in (new), modified (existing value), delete (value).

In ColumnC there need to be a space and a dash between the content of ColumA and ColumnB

example:
ColumnA = John Denver
ColumnB = Singer
ColumnC = John Denver - Singer

Thank you
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros