Viewing 2 posts - 1 through 3 (of 3 total)
It looks like I have resolved this with the query running in reasonable time and producing correct results. Not sure if the final query is the most efficient but it...
December 2, 2022 at 4:16 am
#4120970
Thanks for that.
The ERD is only 3 tables
With the tables and simple sample data in the following code:
---create assets_sc table
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
CREATE TABLE [dbo].[assets_sc](
[asset_id] [varchar](50)...
November 21, 2022 at 11:35 pm
#4116240