Skip to Content
0
Jun 01 at 08:29 AM

What does ##COLUMN## do?

27 Views

I have a stored procedure I'm trying to understand, but Google is not returning anything remotely useful, so I'm asking here. In the procedure ##COLUMN## is used a lot e.g.

SELECT CASE WHEN "##ORGUNIT##" = "ALL" THEN "ALL" WHEN "##ORGUNIT##" = "*" THEN BSEG_ORGUNIT ELSE "##ORGUNIT##" AS BSEG_ORGUNIT