Viewing 15 posts - 961 through 975 (of 2,645 total)
It doesn't sound like a memory issue, but if you are sure it is you could reduce the memory SQL Server uses just before the SSIS packages run and increase...
September 14, 2020 at 3:22 pm
It's a very good idea to put all your stored procedures and other database code in source control. One file for each SP.
September 13, 2020 at 5:36 pm
If you don't want the rows with the NULL's to be returned just make it CROSS APPLY instead of OUTER APPLY.
If you want the rows with the NULLS to be...
September 11, 2020 at 3:09 pm
DECLARE @title as VARCHAR(MAX) = 'Title:';
SELECT si.ItemID,
si.Code as SKU,
si.AnalysisCode12 as MSKU,
...
September 11, 2020 at 2:35 pm
I'm not sure if I understand what you want. Do you want to find all rows in the master table that have rows in all the other 50 related table?
If...
September 9, 2020 at 5:11 pm
Compression to save disk space is of dubious value unless it saves IO.
With technologies such as Fusion-IO and SSDs where you are talking about literally thousands of times that...
August 29, 2020 at 2:19 am
How do you want the 30 second intervals defined?
i.e. do you want them divided into clock-face 30 second intervals or for the 30 second interval to start at the time...
August 26, 2020 at 2:25 pm
closed
Why did you delete the text in your original post? Even if it turned out to be a dumb question that you found the answer to, a followup...
August 23, 2020 at 12:42 am
You could create a daily agent job with a separate step for each (monthly/weekly/daily) task then add a step to the front of each of those steps to test if...
August 18, 2020 at 2:24 pm
I think if you format the values in your table correctly you should be able to do it without a cursor or using dynamic SQL by using
"CROSS APPLY OpenRowset(..."
August 13, 2020 at 4:27 pm
You need to look at the SQL calls being made to the database. It's impossible to diagnose your performance problems by just telling us you have a database job that's...
August 11, 2020 at 11:04 pm
I think Jeff is correct. There will be one or more tables that have foreign keys referencing the able you are trying to delete from. These tables won't have indexes...
August 11, 2020 at 8:07 pm
It's a bit of a long winded way to write that query. You could write it like this:
SELECT 1 ...
August 7, 2020 at 3:08 pm
Does this do what you want?
select *
from #duplicatesample a
left join #duplicatesample b
on...
August 6, 2020 at 6:14 pm
It's both reasons that it's faster. To pretend that the shared locks on rows don't take any time is just not true. It may be small overhead, but it...
August 5, 2020 at 9:07 pm
Viewing 15 posts - 961 through 975 (of 2,645 total)