Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Data Transfer between two tables

$
0
0

Hi guys, would anyone be able to help me create a query where I can transfer the data from a column in table 1 to a specific column in table two but only specific rows.

Pretty straight forward but need extra help. 

Thank you!

Example:

Table 1 is "Cardholder" and the data I want to move is under the column "Description" 

Table 2 is "userdefinefield" and the data I want to put into column "email"

But only for rows with cardholderID numbers between 15011 and 15566

"cardholderID" is another column that both tables share and have the same data.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>