Hi,
I am upgrading from Access to MSQL database but i am unable to convert the following query into procedure.
Please advice on how this statment can be amended to be accepted by MSQL
Thanx
UPDATE [INV Items] INNER JOIN [INV Item Location] ON [INV Items].[INV ITEM Id] = [INV Item Location].[INV Item ID] SET [INV Item Location].[Qty Bal] = 0, [INV Item Location].[Qty Avail] = 0, [INV Items].[INV ITEM Qty On Hand] = 0, [INV Items].[INV ITEM First Cost] = 0, [INV Items].[INV ITEM Average Cost] = 0, [INV Items].[INV ITEM Last Cost] = 0
I am upgrading from Access to MSQL database but i am unable to convert the following query into procedure.
Please advice on how this statment can be amended to be accepted by MSQL
Thanx
UPDATE [INV Items] INNER JOIN [INV Item Location] ON [INV Items].[INV ITEM Id] = [INV Item Location].[INV Item ID] SET [INV Item Location].[Qty Bal] = 0, [INV Item Location].[Qty Avail] = 0, [INV Items].[INV ITEM Qty On Hand] = 0, [INV Items].[INV ITEM First Cost] = 0, [INV Items].[INV ITEM Average Cost] = 0, [INV Items].[INV ITEM Last Cost] = 0