Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Usando un campo tipo text
Message
 
 
À
15/05/2012 22:30:17
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Vénézuéla
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01543649
Message ID:
01543650
Vues:
57
>Muy buenas noches.
>
>Estoy creando un select :
>select codigo, descripcion from tabla1 group by codigo
>
>me produce un error : SQL: la clausula GROUP BY falta o no es válida.
>
>el campo descripcion es de tipo TEXT
>
>
>Muchas gracias de antemano.

You need to put the descripcion field into an aggregate function, e.g.
select Codigo, max(descripcion) as descripcion from Tabla1 GROUP BY codigo
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