Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select - sql
Message
De
22/12/1998 13:09:00
 
 
À
22/12/1998 13:06:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00169673
Message ID:
00169722
Vues:
30
>>>>>>>Can anyone tell me whether SELECT - SQL respects SET DELETED ON/OFF? I used to know this.
>>>>>>>
>>>>>>>thank you
>>>>>>
>>>>>>Yes, it respects it in all reasonable situations. The only exception if you run SELECT * From Table INTO Cursor, and even this case can be remedied by NOFILTER.
>>>>>
>>>>>Thanks, Edward,
>>>>>
>>>>>The problem I appear to be having is that SELECT is selecting deleted records when SET DELETED is ON -- puzzling!
>>>>>
>>>>>regards
>>>>
>>>>That's strange. Are all tables open before SELECT? Also, if you SELECT into cursor, try NOFILTER.
>>>
>>>Edward,
>>>
>>>I think all tables are open -- I guess I assumed they are since I'm getting no error messgages to that effect -- but I guess I'd better check.
>>>
>>>Thanks again,
>>>
>>>regards,
>>
>>James, is there any chance you're in a private datasession? The value of SET DELETED is scoped to the current data session.
>
>Rick,
>
>I'll bet that's it. I used to as a routine matter code a "where ... !(DELETED()) into all Selects, and I cannot imagine why I stopped. Back to the old ways, eh?
>

Don't return back, this way you just cannot use joins.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform