Viewing 15 posts - 121 through 135 (of 430 total)
This is a variation of the above. I think your left joins are invalidated by the WHERE filter on the item table, so add the filter to the join or...
February 16, 2023 at 7:41 pm
Does the row count change when you remove the coalesce? I think the coalesce is there because dbo.PLNT_PARTACTWORKC is joined with an outer join. I suspect that removing the coalesce...
February 16, 2023 at 5:13 pm
Heh... Ed... as Jeffrey Williams also recommended, my sincere and very friendly recommendation is that you stop using FORMAT.
Trust me, I don’t use format specifically because of your previous...
February 16, 2023 at 3:09 am
I suspect that the sub queries used to get a random row for each name are performing a table scan. It seems that you identify a batch by updating the...
February 15, 2023 at 5:24 pm
I suggest you provide sample data in the form table create and insert statements. I would simplify the tables to include only the relevant columns and make up the data....
February 3, 2023 at 8:18 pm
I think you might have missed one of the requirements. It states there should be a snapshot for every account for every date even on dates an account has no...
February 3, 2023 at 6:43 pm
Are you trying to make a slowly changing AccountGroup dimension table?
It might as simple as inserting the current data, then every day you expire changed rows and insert new rows....
February 3, 2023 at 12:05 am
Does this get you any closer?
Edit: the date column is already a date so no need to convert it.
SELECT a.[DATE] AS TransactionDate,
...
January 31, 2023 at 9:54 pm
I got the following message
Msg 4108, Level 15, State 1, Line 284 Windowed functions can only appear in the SELECT or ORDER BY clauses
How can i re-set the ID...
January 23, 2023 at 8:04 pm
If you don't want to write the data twice and you're using SSIS then you could multicast the dataflow to two destinations that are the same table. After the multicast...
January 19, 2023 at 9:40 pm
Many new users would put the join filter criteria in the WHERE clause which would prevent the left joins from functioning as outer joins, so this is very good for...
January 17, 2023 at 8:15 pm
Have you tried adding the package to an empty SSIS project and building any script tasks? If the package runs in debug then deploy to file system again.
January 17, 2023 at 6:49 pm
What does the job activity monitor say? If it shows a status of idle I would delete the job history and check it again tomorrow.
If the job is not running...
January 12, 2023 at 8:56 pm
Does the client need to hit refresh? I have been fooled many times.
January 12, 2023 at 8:00 pm
From you required output it appears that you want the last row for each date, but this is based on the order they appear on the screen.
This will return one...
January 11, 2023 at 4:26 pm
Viewing 15 posts - 121 through 135 (of 430 total)