View Single Post
  #2 (permalink)  
Old March 15th, 2008, 10:53
cunninghamg cunninghamg is offline
Member
 
Join Date: Mar 2007
Location: Bedfordshire England
Posts: 58
Thanks: 3
Thanked 10 Times in 9 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
cunninghamg is on a distinguished road
Send a message via AIM to cunninghamg Send a message via MSN to cunninghamg Send a message via Skype™ to cunninghamg
Re: UTC.GET_LOCAL_DATE SQL Performance

prasad

Its not the utc.get_local_date that is causing the full table scan - its the query.

If you look for a particular date in the Order_release table, it will scan all entries unless you add an index on the field being searched.

Adding further filtering criteria would help reduce the number of records to scan (if available).

Cheers
Gary
Reply With Quote
The Following User Says Thank You to cunninghamg For This Useful Post:
chrisplough (March 15th, 2008)