UPDATE PARAMIMPPEDIDO SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE PARAMIMPPEDIDO MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE PARAMIMPPEDIDO MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE LOGRECALCSALD SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/ 

ALTER TABLE LOGRECALCSALD MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE LOGRECALCSALD MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_NFENTRADA SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_NFENTRADA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_NFENTRADA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_PRODUTO SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_PRODUTO MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_PRODUTO MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE PESOPRODPRODUCAO SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE PESOPRODPRODUCAO MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE PESOPRODPRODUCAO MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE SAFX08 SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE SAFX08 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE SAFX08 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_RELACLIEOL SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_RELACLIEOL MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_RELACLIEOL MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE FILIALALTVND SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE FILIALALTVND MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE FILIALALTVND MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE PARAMHTTPFILIAL SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE PARAMHTTPFILIAL MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE PARAMHTTPFILIAL MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE ZH_PREFERENCE_FILTER SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE ZH_PREFERENCE_FILTER MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE ZH_PREFERENCE_FILTER MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_ITLANCTOEST SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_ITLANCTOEST MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_ITLANCTOEST MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE SAFX07 SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE SAFX07 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE SAFX07 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE SAFX202 SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE SAFX202 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE SAFX202 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE SAFX201 SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE SAFX201 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE SAFX201 MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE ZH_PREFERENCE_VIEW SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE ZH_PREFERENCE_VIEW MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE ZH_PREFERENCE_VIEW MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE SERVER_ACCESS_PROFILE SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE SERVER_ACCESS_PROFILE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE SERVER_ACCESS_PROFILE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE HISTXMLNFE SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE HISTXMLNFE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE HISTXMLNFE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE INTG_ARQXMLNFE SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE INTG_ARQXMLNFE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE INTG_ARQXMLNFE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_ITEMENTRADA SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_ITEMENTRADA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_ITEMENTRADA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_LANCTOESTOQ SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_LANCTOESTOQ MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_LANCTOESTOQ MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE ZH_PREFERENCE_LAYOUT SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE ZH_PREFERENCE_LAYOUT MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE ZH_PREFERENCE_LAYOUT MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE INTG_DADOSADIC SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE INTG_DADOSADIC MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE INTG_DADOSADIC MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_FORNECEDOR SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_FORNECEDOR MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_FORNECEDOR MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_ITEMSAIDA SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_ITEMSAIDA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_ITEMSAIDA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE ZH_USER_WIDGET SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE ZH_USER_WIDGET MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE ZH_USER_WIDGET MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE HISTPESAGEMPROD SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE HISTPESAGEMPROD MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE HISTPESAGEMPROD MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_CLIENTE SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_CLIENTE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_CLIENTE MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE USR_PROT_NFSAIDA SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE USR_PROT_NFSAIDA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE USR_PROT_NFSAIDA MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/

UPDATE ZHU_ACCESS_CONTROL_ELEMENT_TMP SET NRORG = SYS_CONTEXT('nrorg_ctx','nrorg')
/

COMMIT
/

ALTER TABLE ZHU_ACCESS_CONTROL_ELEMENT_TMP MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg')
/

ALTER TABLE ZHU_ACCESS_CONTROL_ELEMENT_TMP MODIFY NRORG NUMBER DEFAULT SYS_CONTEXT('nrorg_ctx','nrorg') NOT NULL
/