‎2020 Sep 30 9:51 PM
I want to delete records in Table_A in Datastore_A, based on a lookup in Table_B in Datastore_B.
In MS SQL Server, I can span databases by specifying the database name in the query.
In SAP DS, it appears that the query only allows 1 datastore. Is there a way to write a query spanning multiple Datastores ?
Something like this
DELETE FROM Datastore_A.Orders
WHERE FiscalYear = ( select FiscYEAR from Datastore_B.DATES
where (dates - 1 days) = CAST(CURRENT_TIMESTAMP AS DATE) )