A
angie
i have a query that takes about five minutes to run. i think that the delay
is not justified: the table contains around 40000 records and the query is
based on two separate queries whose performance is ok.
below is the sql of my query if anyone could help me please!
SELECT [Quotation-Suppliers-qry].[Order Number],
[Quotation-Suppliers-qry].[PART number],
[Quotation-Suppliers-qry].Manufacturer, [Quotation-Suppliers-qry].Item,
[Quotation-Suppliers-qry].Description, [Net Price]-[MinOfNet Price] AS Expr4,
[Pricelist-qry-0].[MinOfNet Price], [Quotation-Suppliers-qry].[Net Price],
[Quotation-Suppliers-qry].Expr2, [Quotation-Suppliers-qry].MinOrderQty,
[Quotation-Suppliers-qry].ID, [Quotation-Suppliers-qry].Supplier,
[Quotation-Suppliers-qry].Commission, [Quotation-Suppliers-qry].Iva,
[Quotation-Suppliers-qry].MinOrderValue,
[Quotation-Suppliers-qry].DeliveryDays,
[Quotation-Suppliers-qry].ShippingTerms,
[Quotation-Suppliers-qry].PaymentTerms,
[Quotation-Suppliers-qry].ValidThrough, [Quotation-Suppliers-qry].Status,
[Quotation-Suppliers-qry].Country, [Quotation-Suppliers-qry].Factory,
[Quotation-Suppliers-qry].Valid, [Quotation-Suppliers-qry].Expr3
FROM [Pricelist-qry-0] INNER JOIN [Quotation-Suppliers-qry] ON
([Pricelist-qry-0].Manufacturer = [Quotation-Suppliers-qry].Manufacturer) AND
([Pricelist-qry-0].[PART number] = [Quotation-Suppliers-qry].[PART number]);
i have several other queries based on this one and the delay is a an
obstacle to the database performance.
is not justified: the table contains around 40000 records and the query is
based on two separate queries whose performance is ok.
below is the sql of my query if anyone could help me please!
SELECT [Quotation-Suppliers-qry].[Order Number],
[Quotation-Suppliers-qry].[PART number],
[Quotation-Suppliers-qry].Manufacturer, [Quotation-Suppliers-qry].Item,
[Quotation-Suppliers-qry].Description, [Net Price]-[MinOfNet Price] AS Expr4,
[Pricelist-qry-0].[MinOfNet Price], [Quotation-Suppliers-qry].[Net Price],
[Quotation-Suppliers-qry].Expr2, [Quotation-Suppliers-qry].MinOrderQty,
[Quotation-Suppliers-qry].ID, [Quotation-Suppliers-qry].Supplier,
[Quotation-Suppliers-qry].Commission, [Quotation-Suppliers-qry].Iva,
[Quotation-Suppliers-qry].MinOrderValue,
[Quotation-Suppliers-qry].DeliveryDays,
[Quotation-Suppliers-qry].ShippingTerms,
[Quotation-Suppliers-qry].PaymentTerms,
[Quotation-Suppliers-qry].ValidThrough, [Quotation-Suppliers-qry].Status,
[Quotation-Suppliers-qry].Country, [Quotation-Suppliers-qry].Factory,
[Quotation-Suppliers-qry].Valid, [Quotation-Suppliers-qry].Expr3
FROM [Pricelist-qry-0] INNER JOIN [Quotation-Suppliers-qry] ON
([Pricelist-qry-0].Manufacturer = [Quotation-Suppliers-qry].Manufacturer) AND
([Pricelist-qry-0].[PART number] = [Quotation-Suppliers-qry].[PART number]);
i have several other queries based on this one and the delay is a an
obstacle to the database performance.