In the where clause of my derived query . I have to include last month condition ,last month values in the column will be in the form of year and month .This is the monthly report so it runs every last month .
how to write the below example in format of date function .
My data base is oracle. Here is the example syntax :-
Would you please explain why you think that the performance will be better? I am just curious…
I am not an Oracle DBA so I can’t say whether the first formula or the second one performs better. But my intuition tells me that in my formula there is 1 less operations/functions than in yours. So my assumption is that it should be faster. But I may be wrong