As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
The SQL. is for direct reference of a sql function, where the DB_EXPR you can enter an full expression. That being said, you can reference a sql function using the DB_EXPR.
Example (MS SQL):
PASCALESUM/I11 WITH DMHR.ID_NUM=DB_EXPR(SUM(PAYSCALE) OVER(PARTITION BY PLANT));
START_DOW/A10 WITH DMHR.ID_NUM=DB_EXPR( DATENAME( dw, START_DATE ) );
START_MONTH/I2=SQL.MONTH( START_DATE );
The WITH is not always required with the SQL. prefix, but it doesn't hurt to add it.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
Even when calling a function with SQL. it's limited. The parameters must be columns, constants or expressions.
If you want to call a function that takes a keyword then use DB_EXPR. For example the MS SQL Server function CONVERT takes a parameter of datatype such as CHAR:
DB_EXPR(CONVERT(CHAR, "start_date", 102))
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007