troubleshooting Question

Update with 2 tables

Avatar of Vaalar
Vaalar asked on
Microsoft SQL Server 2005Microsoft SQL Server 2008
4 Comments2 Solutions327 ViewsLast Modified:
I`ve got 2 tables: first - prod, second - custo
table prod
idProd(int)          dest( varchar )
8921                     t1
3211                     t1
3232                     t2

table custo
idProdWe (int)          dest ( varchar)
8920                           t2
4811                           t1
I need to update records in table custo if there are the same values in columns idProd and IdProdWe. As Update i mean to insert values from dest column to custo table
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 4 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 2 Answers and 4 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