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
Problem with MS Outlook 2003
Commit Data on lost focus
HP CLJ 5550 how to disable color printing.
Web hosting control panel
How do I make a copy of a Sharepoint and move it to a virtual test environment on the domain?
Event ID 3030, 3018, 3015 logged, lots of messages in Queues
getting null
seamless redundant internet connections
Plsql tables in oracle
Do I need to run setup /ps and setup prepareAD if I am installing Excahnge 2010 into a an Excahnge 2007 organization? I insert the xch2010 on the new server and run teh comands there or on the D