Viewing 15 posts - 2,791 through 2,805 (of 13,870 total)
You know the drill. Can you provide some sample consumable DDL, data and desired results, please?
April 5, 2020 at 11:36 pm
Thank you for your feedback, appreciate your valuable time, skills and know ledges. Do you agree if we have more than 5 millions rows in source table, we should...
April 5, 2020 at 1:53 pm
If the number of rows in your source table is low ... in the tens of thousands, maybe ... a full refresh is simplest and cleanest.
As soon as the full...
April 5, 2020 at 1:03 pm
The trigger/audit table solution sounds like the best fit to me. It's been done many times before and there are loads of articles around on this ... I think I've...
April 4, 2020 at 8:37 pm
Maybe you are talking about temporal tables?
And they have been available since SS 2016.
The best method depends on what is driving the requirement. Is this for reporting, auditing or...
April 4, 2020 at 2:46 pm
I used a script like this ...
Like what?
April 3, 2020 at 5:51 pm
Regardless of the Intellisense comment, this shows, I think, that the problem lies with Apex auto-complete and not with SSMS, and therefore that you should consider contacting them for support....
April 3, 2020 at 5:29 pm
That is unusual. If you turn off Apex SQL, does the behaviour continue?
April 3, 2020 at 4:01 pm
A quick couple of comments.
IF OBJECT_ID('product') IS NOT NULL
DROP TABLE [dbo].[product]
May be replaced by DROP TABLE IF EXISTS [dbo].[product].
Not only that, but if you had a proc in the database...
April 2, 2020 at 4:59 pm
I would like to update TASK_NXT_RUN_DT column based on the script in column 2 dynamically. I have tried using while loop and dynamic sql but no luck. Any help...
April 2, 2020 at 1:58 pm
Yes, change the precedence constraint from step 2 to step 3 to 'Completion'.
April 2, 2020 at 1:17 pm
Just out of interest, can you explain how you intend to use the Sale table in the DW?
This feels like an excessive amount of de-normalisation to me.
April 1, 2020 at 3:54 pm
Just to clarify, presumably this is for an OLTP system? If so, wouldn't this be a parameterised update, run from a proc?
Eg
Exec update_Sale @Item_Id, @Sale_Code
?
April 1, 2020 at 3:30 pm
Before you go any further, make sure that you have your RTO and RPO defined and agreed by interested parties.
This information will feed into the choice you make. Though it...
April 1, 2020 at 2:44 pm
I really need to learn to start with the KISS Principle, but sometimes it is hard for this old dog to learn better habits.
Thank you Phil for keeping me...
March 31, 2020 at 10:02 pm
Viewing 15 posts - 2,791 through 2,805 (of 13,870 total)