Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null values in cursor
Message
De
27/04/2007 15:11:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01220061
Message ID:
01220551
Vues:
22
>>>Anyway, I showed a generic solution for the field types which can not be easily constructed in SQL.
>>
>>I think the generic solution will work for different field lengths (padr() would still be simpler), but the UNION will fail if you mix different field types.
>
>It sure will.
>
>If you want to have an integer field in your resulting cursor, how would you do it assuming your UDF returns 1,2,3?

Oh, that. OK, in this case you are right. I thought you meant that one and the same function could have different return types. I guess I misunderstood.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform