Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Usando un campo tipo text
Message
 
 
To
15/05/2012 22:30:17
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Venezuela
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01543649
Message ID:
01543650
Views:
56
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform