Different DBMS handle it differently. I didn't notice any penalty when running on Oracle Database. I've heard people complain when abusing it on MSSQL.
I'd say just continue using it until you run into problems. Then look into if it's actually the WITH statement that's causing problems or something else.
2
u/reallyserious Jul 20 '20
Different DBMS handle it differently. I didn't notice any penalty when running on Oracle Database. I've heard people complain when abusing it on MSSQL.
I'd say just continue using it until you run into problems. Then look into if it's actually the WITH statement that's causing problems or something else.