git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@72325 d1611594-4594-4d17-8e1d-87c2c4800839
master
edgar 2017-08-04 20:05:05 +00:00
parent 54b25fbfcd
commit b49dd4c12d
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
ALTER TABLE CLIENTE MODIFY NOMBCLIENTE VARCHAR2(150);

View File

@ -0,0 +1,2 @@
update CLIENTE cli set NOMBCLIENTE= CONCAT(CONCAT(CONCAT(CONCAT(NOMBCLIENTE,' '),APELLIDOMATERNO),' '),APELLIDOPATERNO) WHERE
(SELECT length(NOMBCLIENTE)-length(replace(NOMBCLIENTE, ' ', '')) from CLIENTE WHERE cli.CLIENTE_ID=CLIENTE_ID)=0;