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
move from 2008 to R2 (compared to 2008 from 2005)
Remote monitoring software
AD 2003 to 2008 Migration Question
Exclude Administrator/User from a Group Policy
Restoring exchange state to a test environment
VBA Error Handler when excel sheet does not exist
HTTP 501/505 on Sharepoint website after installing IIS6 server certificate. Error shows Linksys router responding.
Can I hide a rule created in a users outlook?
where can I download openwave phone simulator?
How to use a html form <select> dropdown within a MYSQL while loop table display with php