Viewing 15 posts - 9,391 through 9,405 (of 59,099 total)
I guess the real key here is that if you're dividing by zero, there's something wrong with your data, your code, or both. I've never ignored divide by zero errors...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 3, 2019 at 11:34 pm
Now that you have an answer, do you know how it works and why it could fail?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 4:33 pm
Just ran across this. Yeah... you file path has spaces in it, as well, and so it needed to be quoted. I got into the habit of automatically encapsulate such...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 4:32 pm
Have you ever encountered some code that makes you feel that you need wine instead of coffee to fix it? Or is it just me?
I'm working on a code...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 2:03 pm
I had similar issues and the single user thing seemed to handle that. You DO have to be careful to not lose the single user connection or those service logins...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 1:57 pm
Heh... there must be a disturbance in the force. I've been asked to do something similar about 2 weeks ago. Because I have to kill a bunch of data and...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 1:43 pm
select FORMAT(Convert(datetime,GETDATE (),103),'MM/dd/yyyy HH:mm')
While that's incredibly simple, as it was designed to be, FORMAT has been tested and documented as being 44 times slower than even poor renditions. Until...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 12:51 pm
Warthog
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 3:32 am
I'm not sure how any of that was misleading. I did state that the 8096 included the row header and did state that SQL Server uses the number 8060 for...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 3:30 am
There's a difference (to me, anyway) between a table that suffers a whole lot of INSERTs and a table that suffers UPDATEs. Run logs (with only one exception...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 2, 2019 at 1:13 am
There's a difference (to me, anyway) between a table that suffers a whole lot of INSERTs and a table that suffers UPDATEs. Run logs (with only one exception that's not...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2019 at 3:31 pm
I have a very huge table (60GB) used for logging purpose(100 of records logged every second). Now the developers have added a new update script as procedure which is...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2019 at 1:42 pm
Thanks all once again.. How can I attach the execution plan
Ya know... since they've updated this forum to new software, that's a really good question. I hope they fix...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2019 at 12:20 pm
Apologies... it took longer to find than expected.
The following code makes up to 450 possible substitutions. Details are in the code. Please understand that I've not tested the method I...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2019 at 12:59 am
Heh... wrong color... it needs to be a Red Herring to chop down trees with. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2019 at 10:44 pm
Viewing 15 posts - 9,391 through 9,405 (of 59,099 total)