Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a memo field to a character field
Message
 
 
À
29/08/2005 11:04:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01044753
Message ID:
01044786
Vues:
15
>
>Thanks Yuri. This is OK but I am having a problem using the index in an SQL SELECT. I am getting an 'ORDER BY clause is invalid.' error.

You have to add calculated field to the query result to sort on it.
SELECT *, PADR(mymemo,75) AS SortOrd ;
  FROM mytable ;
  ORDER BY ..., SortOrd 
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform