comment out debug selections

This commit is contained in:
Paul Trowbridge 2021-07-14 15:45:39 -04:00
parent ad56a96cd3
commit e50113f825

View File

@ -22,6 +22,7 @@ repc AS (
WHERE
C.A2 = 'MM'
)
--select * from repc
,SEG AS (
SELECT
GLEC
@ -46,17 +47,22 @@ repc AS (
('9TO','Other')
) X(GLEC, SEGM)
)
--select * from seg
----------------------------------------------------sales major codes----------------------------------------------------------------------------------------------------------------------------------
,SJ AS (
SELECT * FROM LGDAT.MMSL WHERE COALESCE(BSMNCD,'') = ''
)
--select * from sj
----------------------------------------------------sales minor codes----------------------------------------------------------------------------------------------------------------------------------
,SI AS (
SELECT * FROM LGDAT.MMSL WHERE COALESCE(BSMNCD,'') <> ''
)
--select * from si
,logload AS (
INSERT INTO rlarp.osm_log (doc) SELECT jsonb_build_object('user',current_user,'tag','1+11','type','build_pool','stamp',current_timestamp,'source','top level','message','don''t undo') RETURNING *
)
--select * from logload
,loadset AS (
SELECT
fspr
,plnt
@ -174,7 +180,8 @@ FROM
seg.glec = o.glec
LEFT OUTER JOIN rlarp.itemm i ON
i.item = o.part
--LIMIT 100
)
SELECT * FROM loadset
) WITH DATA;