0
1
Fork 0
hedera-web-mindshore/rest/misc/contact.sql

27 lines
489 B
MySQL
Raw Normal View History

2016-07-22 20:00:27 +00:00
INSERT INTO vn2008.Clientes SET
cliente = #tradename
,razonsocial = #business-name
,`if` = #nif
,telefono = #phone
,movil = #mobile
,`e-mail` = #email
,contacto = #contact
,re = #es
,domicilio = #address
,poblacion = #city
,codpostal = #pc
,id_pais = #country
,province_id = #province
,chanel_id = NULL -- How did he find us?
,activo = FALSE;
SET @id := LAST_INSERT_ID();
INSERT INTO account.user SET
id = @id,
name = #user,
password = #password,
active = FALSE;