Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty foreign key vs uniqueidentifier
Message
From
06/03/2004 08:42:57
 
 
To
05/03/2004 13:05:44
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00883586
Message ID:
00883790
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform