forked from verdnatura/hedera-web
27 lines
489 B
SQL
27 lines
489 B
SQL
|
|
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;
|
|
|