Viewing 15 posts - 5,266 through 5,280 (of 59,089 total)
I'll try to get back to this later today but... the load should not actually cause the Clustered Index to fragment... if I'm reading things right, it's a wholesale load/replacement.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 17, 2021 at 12:48 pm
Yep... you can avoid a staging table if you'd like but... if something goes wrong, there's going to be a long rollback and your target table might be close to...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 17, 2021 at 12:25 pm
No. And deleting a mistake that you found on your own would be depriving someone of some information that might help them in the future. I'm glad you found it...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 17, 2021 at 3:26 am
Select b.* from #Imports
CROSS APPLY dbo.UDF_datasummary(a.HS_code) bmissing alias - "a"
Select b.* from #Imports
CROSS APPLY dbo.UDF_datasummary(a.HS_code) b
missing alias -...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 17, 2021 at 2:31 am
Resolved
Resolved
So, what was the problem?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 16, 2021 at 6:26 pm
It may be that this could mostly be done during the original insert into the staging table. In order to know that, we'd need to know what the "Facets Feed"...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 16, 2021 at 6:25 pm
One of the methods to read a CSV file is to make a "temporary" linked server, use it, then drop it. I don't know enough about SSIS to say that...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 15, 2021 at 11:09 pm
My apologies... I flat out forgot that this is a VENDOR supplied table. I absolutely agree with the others but will take it one step further... unless you get written...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 15, 2021 at 11:06 pm
I don't suppose removing privs from users and forcing them to use a stored procedure to do restores is an option?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 15, 2021 at 12:28 am
The "best" way would be to have an "INSTEAD OF" trigger that checks the entry. You could also do it after the fact with a normal "after" trigger that would...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 15, 2021 at 12:06 am
What are you saying you want done if an attempted entry contains one of the taboo characters? Do you want to silently reject the entire entry or just remove the...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 15, 2021 at 12:00 am
I avoid SSIS like the plague and so I'm not sure but it looks to me like SSIS isn't able to access the file. Have you checked to make sure...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2021 at 11:42 pm
Please read the second paragraph from the article at the following URL for the answer to that...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2021 at 11:28 pm
If you stop and think about it, all the supposed light-weight things you propose are just another way of capturing history except they are more heavy weight.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2021 at 11:22 pm
The other part about the documentation on index maintenance is that it's spread all over hell's little half acre. This IS a spot that actually describes what REORGANIZE does in...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 13, 2021 at 6:51 pm
Viewing 15 posts - 5,266 through 5,280 (of 59,089 total)