Hi All,
I have multiple CTE's and each CTE has where clause where we need to pass multiple customer id example 1,2,3,.....
Now to change the id in 10-12 cte's is a task has probability of error.
So, I am trying to store all customer id in 1 CTE maybe a variable and pass that variable in where caluse of other CTE.
Kindly help