How do I convert a datetime value to a date only value:
"10/16/23 9:24 PM" to "10/16/23"
Should be simple, right? 😏
to_date(to_char(sysdate, 'YYYY/MM/DD') ,'YYYY/MM/DD')
hope this helps
Hi Mike,
Unfortunately the SQL syntax is different. Functions to_date and to_char are NOT valid. You need to use the correct version of SQL. You are using "logical" sql in an analysis in OTBI or in a data model in a report in OTBI using data source OBIEE. Here is a link to review the functions in the sql language reference user guide.
Oracle® Fusion Middleware
Logical SQL Reference Guide for Oracle Business Intelligence Enterprise Edition
Release 12c (12.2.1.3.0)
E80604-01
August 2017
https://docs.oracle.com/middleware/12213/biee/BIESQ/toc.htm
My preference to convert a date time to a date is to use function cast
select all 0 s_0 , "Ledger"."Ledger Creation Date" as created_datetime , cast("Ledger"."Ledger Creation Date" as date) as created_dateonly from "General Ledger - Period Status Real Time" fetch first 7 rows only
Hi @Nathan CCC if its data model then isn`t it more simple to change in properties itself
Hello, I'm trying my hand at creating some KPI's and Dashboard Visualizations for the Recruiting Activity Center (RAC) per the following documentation: Flexible Reporting in Redwood Dashboards Redwood Experience: Recruiting Dashboard When I add a session variable to my OTBI reports, I correctly see a value of 0 in my…
'Facility Name' exists in the Recruiting - Recruiting Real Time multiple times with varying usage. Job Requistion -> Job Requisition - Additional Details -> Facility Name Job Requistion -> Location -> Facility Name Is there any reason why these two Facility Names would not exist in the Recruiting - Real Time Events subject…
We are encountering issues with our OTBI dashboards where there is no option to export to Excel. This seems to be a new issue after the latest update to 26B. I made a change to the report layout (moved one analysis into its own section), and now I cannot export the page. As you can see in my attached photos, the export…
we have a requirement to fetch Worker Historic information like Current Job Title Previous Job Title Previous Department New Department Previous Manager New Manager Previous Location New Location which subject area stores this information in the OTBI?
Could you please provide an update on when the 26C Deprecated BI View Objects document will be available? As Oracle Cloud 26C is scheduled to roll out soon, with test environments expected to be updated on August 7, followed by the production release on August 21, we have a limited window to review and assess any potential…