Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is equivalent of .T. in SQL Server?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01040713
Message ID:
01040714
Vues:
10
This message has been marked as the solution to the initial question of the thread.
>When I create a filter expression to pass to SQL Server, sometimes I need to indicate that I want all records. In VFP I would pass .T., e.g.:
>
>
>cFilter = " .T. "
>
>
>I tried to do the same for SQL server but it does not work. I tried to use True, still no luck.
>
>Thank you in advance for any suggestions.

Can you just remove WHERE clause alltogheter in that case?
* All records
cDilter = " 1=1"
* No records - empty cursor
cDilter = " 1=2"
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform