Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Date parameters through derived table

$
0
0

Hello All,

 

I am trying to create date parameters at universe using a derived table. This is my sql statement

 

select trunc(tochar(sysdate,'M/dd/yyyy')) as "Today" from dual

 

But it says that wrong syntax with trunc.

 

Can any one suggest the correct syntax for that?

 

My requirement is to make date parameter objects like today, yesterday, 1 week prior etc.

 

Reply would be much appreciated.

 

Regards


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>