quien me puede ayudar con este QUERY
Publicado por miguel (3 intervenciones) el 09/06/2004 22:21:53
Buen día
Tengo este query que ejecuto en MS ACCESS y jala perfectamente pero si quiero ejecutarlo desde MS SQL SERVER me marca error .
¿PQ MARCA ESE ERROR?
SELECT BOM_3.[Parte Padre], BOM_3.[Parte Componente], BOM_3.[SumaDeCosto con negativo], BOM_3.[SumaDeCosto con negativo]/([Repite]*BOM_2.Prorrateo) AS Costo, Count(BOM_3.[Parte Padre]) AS Repite, BOM_2.Prorrateo INTO [Prorrateo BOM_3]
FROM BOM_2 INNER JOIN BOM_3 ON BOM_2.[Parte Componente] = BOM_3.[Parte Padre]
GROUP BY BOM_3.[Parte Padre], BOM_3.[Parte Componente], BOM_3.[SumaDeCosto con negativo], BOM_2.Prorrateo
ORDER BY BOM_3.[Parte Padre];
Tengo este query que ejecuto en MS ACCESS y jala perfectamente pero si quiero ejecutarlo desde MS SQL SERVER me marca error .
¿PQ MARCA ESE ERROR?
SELECT BOM_3.[Parte Padre], BOM_3.[Parte Componente], BOM_3.[SumaDeCosto con negativo], BOM_3.[SumaDeCosto con negativo]/([Repite]*BOM_2.Prorrateo) AS Costo, Count(BOM_3.[Parte Padre]) AS Repite, BOM_2.Prorrateo INTO [Prorrateo BOM_3]
FROM BOM_2 INNER JOIN BOM_3 ON BOM_2.[Parte Componente] = BOM_3.[Parte Padre]
GROUP BY BOM_3.[Parte Padre], BOM_3.[Parte Componente], BOM_3.[SumaDeCosto con negativo], BOM_2.Prorrateo
ORDER BY BOM_3.[Parte Padre];
Valora esta pregunta


0