-- Create Table Statement for 'Lead'
DROP TABLE IF EXISTS `LEAD`;
CREATE TABLE `LEAD` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	CREATE_DATE datetime,
	REF_CODE varchar,
	CUSTOMER_ACCOUNT_CODE varchar,
	FIRST_NAME varchar,
	LAST_NAME varchar,
	MIDDLE_NAME varchar,
	GENDER_CL varchar,
	BIRTH_DATE datetime,
	STREET1 varchar,
	STREET2 varchar,
	CITY varchar,
	STATE varchar,
	ZIP_CODE varchar,
	HOME_PHONE varchar,
	WORK_PHONE varchar,
	CELL_PHONE varchar,
	EMAIL varchar,
	PROSPECTOR_CODE varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;