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

SQL Query - Cisco IPCC DP_CRA_CCDR

Status
Not open for further replies.

megaco

Technical User
Dec 21, 2004
61
GB
Hi,

If I use: select * from ContactCallDetail where startdatetime >= '06/10/2004 12am'

I pull back data, anyone know how to do this so I only pull data for a specific time range say 12am-6-pm etc.

Thanks in advance!

I work for myself - my website is ;)
 
After messing around and doing some Internet searching I found the solution:

select * from ContactCallDetail where startdatetime >'2005-06-10 00:00:00.000' AND startdatetime <'2005-06-10 23:59:00.999' AND origCalledNumber = '6950'

This is for anyone that needs this in the future ;)

I work for myself - my website is ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top