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

I have two SQL Tables. i need to compare these two tables and get differences

$
0
0

Hello All,

i have been working on this SQL issue for a couple of days and the query works but it doesn't return all of the records. here is what i have both of these tables have common columns but table 2 has additional colums. Also the number of line items are slight less in table 1. it has worked for me in the past but can't seem to figure out why its not returning all the differences. I am not an expert in SQL but i can get around it. All your help is greatly appreciated.

table 1 headers:

UserIDUserNameCompanyDepartmentApplicationSecurityPointSecurityPointDescription

Table 2 Headers:

UserIDUserNameCompanyDepartmentApplicationSecurityPointSecurityPointDescriptionEmp_NumReviewerReviewed ByApprovalJustificationCJR NOTES
The Common identifier is UserID.
Text
select [dbo].[Q3SecMgrRptFinal].*,...

Viewing all articles
Browse latest Browse all 4871

Trending Articles



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