I know sql does not support #include directive, but I do not find a reason why this is not supported. I am working in a project which I may need to add this kind of support so that a sql file can include another one. Any obvious thing I may have missed? Thanks in advance.
Regards,
Pei
It is hard to imagine what
#includewould be used for.In all the 100+k lines of SQL code I have written, I have never had the urge to include anything else.
The closest I come is to copy and paste and then modify a previously written query or
create table. I suppose if there were a macro parametrization scheme, I might devise a way to use includes, but mostly it would not be useful.