General information
Category:
Coding, syntax & commands
Beth,
Does adding a WHERE clause and eliminating the IIF statements help? Like WHERE not empty(date_calc) and not empty(date_appr)... or if you need to evaluate both date_calc and date_appr, perhaps splitting it using the UNION clause.
Also, do you have indexes on date_calc and/or date_appr?
Regards,
Ed
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only