Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

How to add in 2 columns of a new table in a new database to existing table?

$
0
0

<p>I have an MVC C# web (classic not core) and sql database.&nbsp; The goal is to merge a 2nd database table and take 2 columns . If sql it might be

SELECT * FROM TABLE1 INNER JOIN
SELECT NAU.ROLES, NAU.ID
FROM NEWDB.ASPNETUSER NAU
WHERE NAU.ID = TABLE1.ID
SORT BY TABLE1.LASTNAME

as long as 2 new colums are there to pick from based on id



</p>

Viewing all articles
Browse latest Browse all 1698

Trending Articles



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