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.
According to Tech Support Symptom/Problem/Solution Case 61582006 - SQL Server 2008 R2 compatibility:
quote:
Problem:
Is 7610 compatibile with SQL Server 2008 R2?
Solution:
Yes and there are no known problems or issues.
In 76x, it is necessary to use the SQL Server 2005 Data Adapter which is configured with the SQL Server 2005 Client Software. The 2005 Data Adapter can access a SQL Server 2008 Instance and retrieve data, but it will NOT provide any support for 2008-specific functionality.
Tech Support emphasis on the NOT.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Good point Francis, that didn't even occur to me since DATETIME2 is 'pretty much' the same as DATETIME. I need to use DATETIME2 as is sorts out the problem of UK language settings with the YYYY-MM-DD date format. Actually, my signature is a bit out of date (will change in a minute) as we are now on 7.6.11. I assumed that since IBI upgraded us recently, specifically becasue we use SQL 2008 that this version would support 2008 functionality..stupid me didn't go and look the the release notes.
Thanks,
Jinx.
7.6.11 Windows HTML, PDF, Excel etc DevStudio/Webfocus/Focus IBM SQL Server 2000 / 2008 DB2
Posts: 78 | Location: UK | Registered: February 07, 2008
We often change the master files (as below), so I tried this with the new DATETIME2 to test if a report using the date would work in the same way as DATETIME...
If the real field in the database is a datetime field, EQ will not work if the time portion of the field is not midnight and the database is doing the WHERE test. You have to look at the SQL being generated. When WebFOCUS uses a WHERE clause like you did, 8/1/2008 is used as 8/1/2008 at 00:00:00.00000 (which is midnight), so if your field has 8/1/2008 at 7:24:00.00000, the dates are not equal so the EQ test fails.
So, your first query will not work if any row has midnight as the time. Your query should be:
TABLE FILE TIME
PRINT START
WHERE START GE '08/01/2008'
AND START LT '10/01/2008'
END
However, if for some reason WebFOCUS does the WHERE test, it will work just fine since you have defined START as MDYY, WebFOCUS will ignore the time portion of the field. That is why you have to review the SQL being generated to see where the WHERE test is being done.
Actually, in our .mas files, we will take a datetime field and define it twice:
This way, if I need to, I can sort by BEGDTTM and select based on BEGDT. As a standard, when wanting a set of rows and selecting by date we always use the where date GE 'date1' and date LT 'date2'. This way we don't care if the database is doing the selection or if WebFOCUS is doing it, we always get the correct return set.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006