Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty foreign key vs uniqueidentifier
Message
De
06/03/2004 08:42:57
 
 
À
05/03/2004 13:05:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00883586
Message ID:
00883790
Vues:
16
You must convert the uniqueid to characters
select *, isnull(vendeurs.cVendID,space(10)) as cVendeur 
from JobH left join vendeurs on JobH.cVendId = CAST(Vendeurs.nID AS CHAR(36))
but if you replace JobH.cVendId empties with NULL ( this is the correct choice )
this conversion is not need

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform