Hi,
I was hoping for a second opinion on an IT issue we’re having.
I’m not sure if any of you use crystal reports but we use it quite a bit here but have been restricted to using templates set up by our IT department. To narrow down the data we use either the parameters that are set up on the report (which then get incorporated into the SQL statement that crystal reports sends to the SQL database) or by using filters in crystal reports (so the SQL command retrieves all of the data and then crystal reports weeds out the bits you want).
I’ve been asking for the report writers to include the ability to add multiple parameter values into the report so the SQL statement gets changed to field= “xxxx” OR “xxxx” instead of just field = “xxxx” but was told they wouldn’t do this as it was “bad practice”.
To me this sounds more like “we can’t be bothered”. Am I missing something or is using OR in a SQL statement not very efficient.
Hope someone can shed some light.
Nick
I was hoping for a second opinion on an IT issue we’re having.
I’m not sure if any of you use crystal reports but we use it quite a bit here but have been restricted to using templates set up by our IT department. To narrow down the data we use either the parameters that are set up on the report (which then get incorporated into the SQL statement that crystal reports sends to the SQL database) or by using filters in crystal reports (so the SQL command retrieves all of the data and then crystal reports weeds out the bits you want).
I’ve been asking for the report writers to include the ability to add multiple parameter values into the report so the SQL statement gets changed to field= “xxxx” OR “xxxx” instead of just field = “xxxx” but was told they wouldn’t do this as it was “bad practice”.
To me this sounds more like “we can’t be bothered”. Am I missing something or is using OR in a SQL statement not very efficient.
Hope someone can shed some light.
Nick