PASSWORDS - holds history of passwords for parties ACCESS_CONTROLS - hold page, item / role information for authorization purposes. Modified tables: ENQUIRIES - meter size removed. Replaced by foreign key to METER_SIZE_CODES. COSTS - includes AICO_CODE and DESCRIPTION for use as cost details for Additional Items. General modifications: Yes/No columns modified to VARCHAR2(3) Modules: Added mip_security.pck. Supports Authentication and Authorization (update of the original POC version) Respository: Created new directory structure to hold persistent data. Currently includes Data/Seed for base table values and Data/Demo to populate various party and relationship tables. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2838 248e525c-4dfb-0310-94bc-949c084e9493
21 lines
494 B
SQL
21 lines
494 B
SQL
set wrap off
|
|
set linesize 100
|
|
set feedback off
|
|
set pagesize 0
|
|
set verify off
|
|
set TERMOUT off
|
|
|
|
SPOOL ytmpy.sql
|
|
SELECT cmd FROM (
|
|
SELECT 2 AS ord, 'alter table '||table_name||' enable constraint '||CONSTRAINT_name||';' AS cmd FROM user_constraints
|
|
WHERE constraint_type = 'R'
|
|
UNION
|
|
SELECT 1 , 'alter table '||table_name||' enable constraint '||CONSTRAINT_name||';'FROM user_constraints
|
|
WHERE constraint_type = 'P'
|
|
)
|
|
ORDER BY ord;
|
|
|
|
spool off
|
|
set termout on
|
|
@ytmpy.sql
|
|
exit |