Viewing 15 posts - 196 through 210 (of 2,900 total)
Was the system less busy when you ran it as Sysadmin ?
Are you getting consistent results with multiple tests ?
November 5, 2021 at 3:09 pm
I use the GUI to generate a script, then I can modify and save it as a record of what was done.
November 3, 2021 at 6:47 pm
Sounds like things I would have used Trace Files for. But I hear Extended Events have more functionality. I don't have much need for either these days. so can't help...
November 1, 2021 at 4:43 pm
3 hours I have wasted on this today. 3 hours. <headdesk>
I wish I only wasted 3 hours on a current data upload project.
October 28, 2021 at 3:50 pm
Perhaps the logs backups are configured, but not running.
October 26, 2021 at 5:17 pm
Please select Johan's post as the correct answer (not mine). He did all the work.
October 20, 2021 at 5:59 pm
If you're really wanting to examine growth rate, maybe you can look at backup history and see the size of the database backups over time.
Backups are usually smaller than the...
October 20, 2021 at 3:17 pm
Select *
, stuff( ( select rtrim(T2.Postcode) + CASE WHEN T2.id = T1.id + 5 then '' else ', ' end
from Postcodetbl T2
where T2.id between T1.id + 1 and T1.id +...
October 20, 2021 at 2:22 pm
Johan's code assumes postcode is entered sequentially and uses ID to order them.
But if LL15 was Inserted before LL14 then you will get different results than you want because the...
October 20, 2021 at 1:56 pm
Never say "Never" ! Why is postcode varchar(50) ?
Also, Doesn't seem like a good idea to have the table name the same as a column name.
October 20, 2021 at 1:40 pm
PostCode is varchar(50). 50 x 5 = 250 plus commas ( and spaces ?).
#TMP is your table name. Johan did not know the name of your table at the time.
Using...
October 20, 2021 at 1:37 pm
PostCodeNext is not long enough to hold 5 PostCodes, commas and spaces.
October 20, 2021 at 1:26 pm
This is a bit like asking why the Blue car gets better gas mileage than the Red car.
Red cars are faster.
October 18, 2021 at 3:50 pm
Performance issues with maintenance tasks like update stats takes forever
This is SQL 2014, so we can have only 1 index on the table..
I tried implementing partitionning in dev, but...
October 18, 2021 at 3:05 pm
Viewing 15 posts - 196 through 210 (of 2,900 total)