Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null values in cursor
Message
 
 
À
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:
01220557
Vues:
19
>>>>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.

No, you didn't misunderstand. I was just thinking aloud about various things simultaneously. Of course, it's a bit confusing <g>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform