Hi there,
I have two tables [Deposito_Temporal_Entrada] and [Importación_DT_Salida] both tables are receiving imports from Excel. I have to be able to update the [Importación_DT_Salida] table with data from the [Deposito_Temporal_Entrada] automatically.
The below SQL returns those values with iqual instances in the [AUTORIZACIÓN] field.
SELECT Importación_DT_Salida.AUTORIZACIÓN, Importación_DT_Salida.Id, Deposito_Temporal_Entrada.Id
FROM Importación_DT_Salida RIGHT JOIN Deposito_Temporal_Entrada ON Importación_DT_Salida.AUTORIZACIÓN = Deposito_Temporal_Entrada.Autorización
WHERE ((Not (Importación_DT_Salida.AUTORIZACIÓN) Is Null));
I need to be able to update the [Id] field in the [Importación_DT_Salida] table with the values from the [Id] field in the [Deposito_Temporal_Entrada] table so long as both values are equal.
Does anyone have any suggestions on how I can do this since I cannot use the update query.
Thanks for any help.
Peps
I have two tables [Deposito_Temporal_Entrada] and [Importación_DT_Salida] both tables are receiving imports from Excel. I have to be able to update the [Importación_DT_Salida] table with data from the [Deposito_Temporal_Entrada] automatically.
The below SQL returns those values with iqual instances in the [AUTORIZACIÓN] field.
SELECT Importación_DT_Salida.AUTORIZACIÓN, Importación_DT_Salida.Id, Deposito_Temporal_Entrada.Id
FROM Importación_DT_Salida RIGHT JOIN Deposito_Temporal_Entrada ON Importación_DT_Salida.AUTORIZACIÓN = Deposito_Temporal_Entrada.Autorización
WHERE ((Not (Importación_DT_Salida.AUTORIZACIÓN) Is Null));
I need to be able to update the [Id] field in the [Importación_DT_Salida] table with the values from the [Id] field in the [Deposito_Temporal_Entrada] table so long as both values are equal.
Does anyone have any suggestions on how I can do this since I cannot use the update query.
Thanks for any help.
Peps