Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need help in optimization

Hi,

I have a table with 6,778,904 records and from that i need to take the maximum and minimum date. I used the following code. But it is taking more time to complete.

CalTemp:

LOAD

max(SERVICEDATE) as MaxDate,

min(SERVICEDATE) as MinDate

Resident COST;

I am loading the COST from a qvd file. Any idea on how to optimize this?

Thanks

1 Solution
2 Replies
Anonymous
Not applicable
Author

Yeah, it works perfectly. Thanks for the reference