Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

between trunc(sysdate-7) and trunc(sysdate)

Status
Not open for further replies.

TCOEN

MIS
Feb 25, 2004
15
IE
Hi,

How can I limit the data a brio query returns using
between trunc(sysdate-7) and trunc(sysdate)? I want the last 7 days info.

thenks,

TCOEN
 
Drag the date field from your table to the limit line. Select custom SQL and set the date field to <= sysdate. Drag the same date field from your table to the limit line again. This time set it to => sysdate-7. This should return all data for the last 7 days. Hope this help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top