Added tables service_pressure_types and meter_size_codes.

Added missing attributes to enquiries table.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2829 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2007-11-08 15:13:45 +00:00
parent b99f1de15a
commit edbf2fc279
12 changed files with 258 additions and 90 deletions

View File

@@ -0,0 +1,21 @@
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 1 AS ord, 'alter table '||table_name||' disable constraint '||CONSTRAINT_name||';' AS cmd FROM user_constraints
WHERE constraint_type = 'R'
UNION
SELECT 2 , 'alter table '||table_name||' disable constraint '||CONSTRAINT_name||';'FROM user_constraints
WHERE constraint_type = 'P'
)
ORDER BY ord;
spool off
set termout on
@ytmpy.sql
exit