Trying to access certain tables/views using Excel causes the executing program, "Microsoft Query", to crash. "Ordinary" tables with only one primary key can be found and exported without any problems.
The table that can't be imported contains two columns which both are primary key and both are foreign keys. One of the views consists of a pair of inner joins and the other view is a grouped table (SUM() and GROUP BY). The table and these two views seem to crash the "Microsoft Query". Any idea of how to solve this?
EDIT: The table looks somewhat like this:
CREATE TABLE AccountHolder
(
Account BIGINT(10),
Customer INT,
PRIMARY KEY(Account, Customer),
CONSTRAINT FKAccountHolderAccount
FOREIGN KEY AccountHolder (Account)
REFERENCES Account (AccountNumber),
CONSTRAINT FKAccountHolderCustomer
FOREIGN KEY AccountHolder (Customer)
REFERENCES Customer (ID)
) ENGINE = InnoDB;