用户同步的sql: insert into crm_customer_user ,username,,,,,id, from sys_user where username not in (select user_name from crm_customer_user); -- ) from sys_user where username not in (select user_name from crm_customer_user); UPDATE crm_customer_user SET
USE master GO IF OBJECT_ID ('sp_hexadecimal') IS NOT NULL DROP PROCEDURE sp_hexadecimal GO CREATE PROCEDURE sp_hexadecimal ), ) OUTPUT AS ) DECLARE @i int DECLARE @length int ) SELECT @charvalue = '0x' SELECT @length = DATALENGTH (@binvalue) SELECT @