February 9, 20169 yr Hi all I have a delete SQL command that freezes FM for around 40 seconds, before succesfully executing the command. The table in question has 30,000 records. The command is: "DELETE FROM Originals WHERE Case_IDF IS NULL AND LOWER (Receive_Subject) LIKE LOWER ('%" & Settings::Case Filter Spark & "%')" Have I done anything wrong here?
February 9, 20169 yr This is a fairly processing intensive SQL call as you are asking to transform 2 cols of 30,000 rows with LOWER and filtering the result with IS NULL and LIKE. I would shift the LOWER to FM by making Originals::Receive_Subject and Settings::Case Filter Spark calculations that produce lower as a result. PS SQL does not always like cols with spaces in the names so i would change Settings::Case Filter Spark to Settings::Case_Filter_Spark. Edited February 9, 20169 yr by Kris M
Create an account or sign in to comment