Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why are these SQL statements different?
Message
De
21/04/2000 11:01:51
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00362213
Message ID:
00362243
Vues:
18
Doug,

Look at SET ANSI and SET EXACT. Both are scoped to the current datasession.

Try some testing by selecting the fields separately and then the concatenated version and and a logical field saying whethere they are equal.

Which gives you the recordset you want?


>JOIN services_for_authorization ON ;
>STR (authorization_tracking.facility) + ;
>authorization_tracking.patid + authorization_tracking.aut_link== ;
>STR(services_for_authorization.facility) + ;
>services_for_authorization.patid + ;
>services_for_authorization.aut_link ;
>
>-- Lists 5525 records
>
>JOIN services_for_authorization ON ;
>authorization_tracking.facility=services_for_authorization.facility ;
>and authorization_tracking.patid=services_for_authorization.patid ;
>and ;
>authorization_tracking.aut_link=services_for_authorization.aut_link ;
>
>-- List 28333 Records
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform