jerrykovach
asked on
Can't open file
creating a merged table with the following command within the events database. The m2001_11 and m2001_12 tables are within the events table as well.
create table mergedArchiveTable (nsid varchar(10), utime int(10), eam_id bigint(20)) type=merge union=(m2001_12, m2001_11);
select * from mergedArchiveTable;
ERROR 1016: Can't open file: 'mergedArchiveTable.MRG'. (errno: 143)
Why is this occuring?
create table mergedArchiveTable (nsid varchar(10), utime int(10), eam_id bigint(20)) type=merge union=(m2001_12, m2001_11);
select * from mergedArchiveTable;
ERROR 1016: Can't open file: 'mergedArchiveTable.MRG'. (errno: 143)
Why is this occuring?
ASKER
database was switched over first.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Has this helped you, or is more needed?
Moondancer - EE Moderator
Moondancer - EE Moderator
ASKER
I was able to solve this one on my own. It seems that the merged tables have to have identical primary and key fields. I had made a mistake in declaring one of those fields. I shall give moon dancer credit since he had the closest answer.
Thanks guys.
Thanks guys.
\u events
Then the query