Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Using NVL sql function in MRE WF- problems
Go
New
Search
Notify
Tools
Reply
  
Using NVL sql function in MRE WF- problems
 Login/Join
 
Gold member
posted
Hello!

I need to use nvl function and I get this error

(FOC1400) SQLCODE IS 195 (HEX: 000000C3) XOPEN: 42000
: Microsoft OLE DB Provider for SQL Server: [42000] 'NVL' is not a recogni
: zed built-in function name.

here is my data:

SALES TAB2_SALES
14077248.69 3016845.99
. 23071772.90

I need following: decode(SALES,null,TAB2_SALES,SALES). I figured that
decode is not working in my version of FW as well, so I will be useng CASE and "SALES" column is a number, so I need NVL . What would be a correct syntex to code that Logic?
thank you.


Valeriya

WebFOCUS 764 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows 2000
 
Posts: 68 | Location: Chicago | Registered: August 23, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
If you use CASE logic, is NVL needed?

SELECT ... , 
 CASE 
  WHEN SALES IS NULL THEN TAB2_SALES ELSE SALES
 END AS SALES
 FROM ...
 ORDER BY ... ;


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Using NVL sql function in MRE WF- problems

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.