Microsoft
Software
Hardware
Network
Question : Oracle Join null rows.
vrl.exchangeid is null and so is exc2id sometimes.Since, null is not equal to anything join is not returning any rows for that user 'radix'
I tried to use coalesce and case statement still it doesn't return anything. Am I doing anything wrong in the query?
Query:
select * from vrolelimits vrl join vuserroles vur on vur.roleid = vrl.roleid
join exchg exc2 on coalesce(vrl.exchgid, -1) = coalesce(exc2.id, -1)
where exc2.test = 0 and vur.userid = (select id from users where loginname = 'radix') and vrl.roleid !=123
Answer : Oracle Join null rows.
if you want null to be replaced with a value use the NVL function
nvl (column, value) it will replace nulls with the valie and other wise just return the data
Random Solutions
AD Group - can it have different set of users in different SQL Server boxes
Sending 'Test' Messages
on BB (running BES), duplicate contacts and calendar - but not in Outlook - happened after running Blackberry Transporter and upgrade to Exchange 2010
Development setup for PHP/MYSQL and ASP/MSSQL.
outlook 2003 - pop3 email keep crashing
search and replace
Sql Query
deleted public tree...help
How to make Windows 2000 server support disk greater than 250GB?
Connect FTP via SFTP