INSERT INTO AC_DE_F
  (ID,
   GMT_MODIFIED,
   MODIFIER,
   GMT_CREATE,
   CREATOR,
   DOMAIN,
   EMPLOYEE_NUMBER,
   COMPANY_NAME,
   HOMEPAGE_URL,
   BACKGROUND,
   CATEGORY_ID,
   REMARK,
   MEMBER_ID,
   SALES_OWNER_ID,
   ACCOUNT_ID,
   IS_DELETED,
   CUST_GRADE)
  SELECT ID,
         GMT_MODIFIED,
         MODIFIER,
         GMT_CREATE,
         CREATOR,
         DOMAIN,
         EMPLOYEE_NUMBER,
         COMPANY_NAME,
         HOMEPAGE_URL,
         BACKGROUND,
         CATEGORY_ID,
         REMARK,
         MEMBER_ID,
         SALES_OWNER_ID,
         ACCOUNT_ID,
         IS_DELETED,
         CUST_GRADE
    FROM APOLLO_ZEUS.GLOBAL_ACCOUNT
   WHERE ACCOUNT_ID = :B2
     AND DOMAIN = :B1
  UNION ALL
  SELECT ID,
         GMT_MODIFIED,
         MODIFIER,
         GMT_CREATE,
         CREATOR,
         DOMAIN,
         EMPLOYEE_NUMBER,
         COMPANY_NAME,
         HOMEPAGE_URL,
         BACKGROUND,
         CATEGORY_ID,
         REMARK,
         MEMBER_ID,
         SALES_OWNER_ID,
         ACCOUNT_ID,
         IS_DELETED,
         CUST_GRADE
    FROM APOLLO_NIR.GLOBAL_ACCOUNT
   WHERE ACCOUNT_ID = :B2
     AND DOMAIN = :B1
---------------------------
INSERT INTO AC_DE_F
	(ID, GMT_MODIFIED, MODIFIER, GMT_CREATE, CREATOR
	, DOMAIN, EMPLOYEE_NUMBER, COMPANY_NAME, HOMEPAGE_URL, BACKGROUND
	, CATEGORY_ID, REMARK, MEMBER_ID, SALES_OWNER_ID, ACCOUNT_ID
	, IS_DELETED, CUST_GRADE)
SELECT ID, GMT_MODIFIED, MODIFIER, GMT_CREATE, CREATOR
	, DOMAIN, EMPLOYEE_NUMBER, COMPANY_NAME, HOMEPAGE_URL, BACKGROUND
	, CATEGORY_ID, REMARK, MEMBER_ID, SALES_OWNER_ID, ACCOUNT_ID
	, IS_DELETED, CUST_GRADE
FROM APOLLO_ZEUS.GLOBAL_ACCOUNT
WHERE ACCOUNT_ID = :B2
	AND DOMAIN = :B1
UNION ALL
SELECT ID, GMT_MODIFIED, MODIFIER, GMT_CREATE, CREATOR
	, DOMAIN, EMPLOYEE_NUMBER, COMPANY_NAME, HOMEPAGE_URL, BACKGROUND
	, CATEGORY_ID, REMARK, MEMBER_ID, SALES_OWNER_ID, ACCOUNT_ID
	, IS_DELETED, CUST_GRADE
FROM APOLLO_NIR.GLOBAL_ACCOUNT
WHERE ACCOUNT_ID = :B2
	AND DOMAIN = :B1



