Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo Aggregate function
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01032890
Message ID:
01032894
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>I am converting some VFP6 SQL to VFL9. Each SQL that has a GROUP BY I am adding an aggregate function to each column in the SELECT that is not in the GROUP BY. On of the columns is a memo field. What aggregate can I perform on a memofield? Or, if there are no aggregates on memo fields ... I really do not even need the memo field values, but I need a memo field in my resulting cursor.
>

You can use new CAST() function to add a memo field to the result
SELECT ... CAST(SPACE(0) AS Memo) AS mymemo ...
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform