Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DATAENVIRONMENT~
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00308730
Message ID:
00310483
Vues:
46
>>once again, i hv some problem on this topic again, if it is possible to do the PACK comaand when everytine the user log?!
>>if yes, after the PACK command finish, will other user disconnect to the DB again?!
>
>Wai,
>
>The OPACK commadn requires exclusive use of the table. Other users cannot open a table that is opened somewhere exclusively. Also, no one can open a table exclusively if any one else has the table open (either exclusive or shared).
>
>Packing is not something you want to do automatically. You want a supervisor to detemrine that everyone is out of the system and then run a program that will do the packing of the tables.
>
>The point is this, packing REQUIRES exclusive use, exclusive use is something you don't want in a multiuser system, therefor you don't want to pack in a multiuser system. If it is absolutely necessary to pack then make it a special function that is limited to supervisors and only done after hours when the rst of the users are not in the system.
>
>If you SET DELETED ON you will not see the deleted records. None of your commands will touch the deleted records, your reports will not include the deleted records. For all practical purposes the deleted records will not be there. Paxcking only physically removes them from the table.

No disagreement - and further, before issuing a PACK, make sure you BACK UP the table and associated files (.CDX and .FPT if used) since a system failure during the PACK command can (and usually does) corrupt one or more of the related files. And if you're copying the file IAC to make a backup...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform