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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just need data from Monday - Friday 1

Status
Not open for further replies.

porps

Technical User
Nov 6, 2008
2
0
0
US
Hola,

I'm new to CR (using CR10). I'm pulling data from an Oracle db. I want to pull the "tickets" from this database for 2 months, but I just want the tickets that were assigned from Monday-Friday. I don't care about the data from the weekends? What is the easiest way to do that?

Thanks for the help!
 
function dayofweek(datefield) returns number 1-7, where monday is 2 and friday 6.

Filter your data
dayofweek(datefield) in [2 to 6]

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top