Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nolock command
Message
 
 
À
28/08/2001 15:11:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00550008
Message ID:
00550031
Vues:
17
You can also use a period instead of -> when qualifying fields. As long as SET EXCLUSIVE is OFF, you do not have locking issues.

>i am trying to write a sql statement in visual that resembles the following:
> select a_alias
> scan
>
> If a_alias->field > 0 .and. not empty(a_alias->field)
>
> Insert into a_alias2 ;
> ( a , ;
> b , ;
> c )
> Values (a_alias->x , ;
> a_alias->y, ;
> a_alias->z)
>
> endif
> endscan
>
>
>i do not want to tie up the database files though. does visual foxpro have a nolock command that will not lock the table when the above code is being executed? any suggestions would be appreciated. thanks.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform