I am trying to create a view with a right excluding join:
However there is a colon that i also want to do a WHERE on. In this case its:
WHERE table.colon != 'x';
for that reason i have tried:
WHERE A.key IS NULL AND table.colon != 'x';
but when i run it, no data is shown when i run it. Can anyone help me with this issue?
Thanks in advanced.
UPDATE, here is the query i am trying to run:
SELECT dbo.DimServere.Servernavn, dbo.DimServere.Serverstatus, dbo.IderaPatchAnalyzer.IP_Adresse, dbo.IderaPatchAnalyzer.Release_, dbo.IderaPatchAnalyzer.Level_,
dbo.IderaPatchAnalyzer.Edition_, dbo.IderaPatchAnalyzer.Build, dbo.IderaPatchAnalyzer.Updates_Available, dbo.IderaPatchAnalyzer.Supported_,
dbo.IderaPatchAnalyzer.Support_Status
FROM dbo.DimServere RIGHT OUTER JOIN
dbo.IderaPatchAnalyzer ON dbo.DimServere.TcpIpAddress = dbo.IderaPatchAnalyzer.IP_Adresse AND dbo.DimServere.Serverstatus <> 'Disposed/Retired'
WHERE (dbo.DimServere.TcpIpAddress IS NULL)