/*==============================================================*/ /* Database name: Database */ /* DBMS name: ORACLE Version 10g */ /* Created on: 14/04/2010 14:15:00 AM */ /*==============================================================*/ -- SQL script that update fitBank squema -- To run this script from the SQL Plus, perform the following steps: -- 1. connect to the database -- 2. set define character to ! -- "set define !" -- 3. issue the command "@ " -- where represents the name of this script spool fitbank201064002.log /*==============================================================*/ /* Table: TPRODUCTOCAPTACIONESVISTA */ /*==============================================================*/ alter table TPRODUCTOCAPTACIONESVISTA add PERMITEMANCOMUNADO VARCHAR2(1) default '1'; comment on column TPRODUCTOCAPTACIONESVISTA.PERMITEMANCOMUNADO is 'Indica si las cuentas de este producto permiten tener mas clientes relacionados a parte del titular o no'; alter table TPRODUCTOCAPTACIONESVISTA add constraint CKPERMITEMANCOMUNADO check (PERMITEMANCOMUNADO is null or (PERMITEMANCOMUNADO in ('1','0'))); spool off