Hendrik,
 
You could also try one of these ways of doing the job:
 
1. Select the roads that have a roadname (NAME <> "") and then save these to a new 
table. This new tabel will be without the road without names. And you don't have to 
pack the tabel afterwards to get rid of the "grey" deleted rows.
 
or 
 
2. Use the Set Table syntax to turn fastedit on for your table. This tells MapInfo to 
write the changes directly to the file in stead of writing the changes to a set of 
transaction files first.
 
In the MapBasic window enter this (replace MYTABLE with the name of your table) 
followed by ENTER:
Set Table MYTABLE FastEdit On Undo Off
 
Now delete the selected records, commit the table and pack it to get rid of the 
deleted records.
 
Both these could be used in combination with the suggestion to remove indexes on your 
table
 
HTH,
Peter Horsb�ll M�ller
GIS Udvikler
Geographical Information & IT
COWI A/S
Odensevej 95
5260 Odense S.
Telefon 6311 4900
Direkte  6311 4908
Mobil    5156 1045
Telefax 6311 4949
E-mail [EMAIL PROTECTED]
http://www.cowi.dk <http://www.cowi.dk/> 

________________________________

From: Dominic Lowe [mailto:[EMAIL PROTECTED]
Sent: Fri 23-Apr-04 10:45
To: 'Possberg, Hendrik'; 'Mapinfo-List (E-Mail) (E-Mail)'
Subject: RE: MI-L Deleting from table



Hendrik,

If you have any indexes on your table try removing these first. (Table |
Maintenance | Table Structure   - then uncheck the "Indexed" column).

Hope that helps
Dominic



-----Original Message-----
From: Possberg, Hendrik [mailto:[EMAIL PROTECTED]
Sent: 23 April 2004 09:33
To: Mapinfo-List (E-Mail) (E-Mail)
Subject: MI-L Deleting from table


Dear list,

I hope to get some help to delete records from a MI table.

I have a roadnet table for Germany consisting of 6 Million rows.
2 millon rows have no entry concering the Street name. (blank)
I want to delete these Records.

My tests:
1. Try to delete when Name =""   ---- no answer after 2 hours, 4 hours.

2. export to ACCESS make a field  "Name_Filled" with [0;1]
export to MI try to join nothing happens after 2 hours, 4 hours.

3. Same as 2 but I made 5 packages with 1 million rows saved them, opened
the first, joined with the origin and
        update field "Name_Filled"
        Do this for all packages.

Now I got the info name Filled for all 6 million rows. Indicate the field
"Name_Filled" and try
        to delete where Name_Filled =0
        nothing happend after 2 , 4 , 6 hours.

This is annoying!
Does anybody know what I can do?

I am using MI 7.0 on a 1GHZ and 512 MB RAM PC with
WINNT 4.0 service Pack 6


Not really funny is the following:
-e.g. tried the same on an equivalent PC with Arcview 3.2  -after 6 minutes
I got the result.


Thanks in Advance.

Mit freundlichen Gr��en

microm
Micromarketing-Systeme und Consult GmbH


Hendrik Po�berg
Geodaten

___________________________________________

Diese Nachricht wurde elektronisch versandt und ist daher auch ohne
Unterschrift rechtsgueltig. Der Inhalt dieser E-Mail enth�lt vertrauliche
Informationen. Das
Kopieren und die Weitergabe an Dritte ist nicht gestattet. Sollten Sie diese
E-Mail irrtuemlich von uns erhalten haben, bitten wir Sie, diese zu
vernichten und uns darueber zu informieren.
Im Voraus vielen Dank.
____________________________________________





---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11499




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11501




Reply via email to