Skip to content
Advertisement

Set column to a concatenated value from another table

I have 2 tables in SQL Server 2008:

Address:

Member:

I need to set e-mail to [memberid]@test.com keeping in mind that e-mail is varchar and memberid is int.

Advertisement

Answer

To simply hardcode @test.com with their MemberID is fairly simple

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement