If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Problem removing table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-10, 04:14
gcostell gcostell is offline
Registered User
 
Join Date: Mar 2010
Posts: 1
Problem removing table

Hi, new to this forum, this is my first post!

I'm trying to remove a database table but unable to do so. This is what I get...

SQL Error (-214): Cannot remove file for table (metrica.ericsson_cell_idle_traffic_chan_fr_2_raw_ bak).
ISAM error: Unexpected internal error

Has anyone a workaround for getting rid of tables like these?
Reply With Quote
  #2 (permalink)  
Old 03-16-10, 17:04
frankcomputer frankcomputer is offline
Registered User
 
Join Date: Mar 2010
Posts: 5
Reply for problem removing table.

Which version of INFORMIX?.. SE?.. IDS?
I had this problem with SE because the tablename in SYSTABLES did not match the file (tablename.dat and tablename.idx) stored in the dbname.dbs directory, so I had to rename the .dat and .idx filenames to matchup with the tablename stored in SYSTABLES, then DROP TABLE tablename so that it could find the renamed .dat and .idx files. The other posibility is that the tablename doesn't exist in SYSTABLES although the .dat and .idx files are present. You can also login as user "informix" and update the row in SYSTABLES for the table in question but that is risky! Remember there also columns associated with the table in SYSCOLUMNS, indexes in SYSINDEXES and other dependencies.

Frank Computer
frankcomputer.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On