de 2000 a 2005
Publicado por Rogelio Carmona (9 intervenciones) el 08/11/2006 16:17:26
se esta realizando una migracion de aplicaciones de SQL server 2000 a SQL server 2005
hay querys que no estan funcionando en 2005
un ejemplo muy simple es el siguiente:
select distinct RTRIM(b.CONCEPTO) as CONCEPTO
from c_conceptos b
order by b.CONCEPTO
en sql server 2005 marca el siguiente error:
ORDER BY items must appear in the select list if SELECT DISTINCT is specified.
hay querys que no estan funcionando en 2005
un ejemplo muy simple es el siguiente:
select distinct RTRIM(b.CONCEPTO) as CONCEPTO
from c_conceptos b
order by b.CONCEPTO
en sql server 2005 marca el siguiente error:
ORDER BY items must appear in the select list if SELECT DISTINCT is specified.
Valora esta pregunta


0