Viewing 15 posts - 8,986 through 9,000 (of 59,102 total)
NOLOCK isn't to prevent locks... it's to prevent from waiting for locks to be released when you're doing reads. You've kind of overridden that because the SELECT is in a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2019 at 9:09 pm
If your presentation layer is SSRS, then using underscores in your column names makes life easier, IMHO. Now I'm using 2008 SSRS, but when I drop a column name...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2019 at 8:52 pm
I really would recommend that you back up to a different folder, rather than giving access to the Administrator area. Something on a different server would be best -...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2019 at 8:14 pm
Trigger.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2019 at 7:39 pm
On that same note, I'd also change the datatype for "IsBillable" and "IsActive" to TINYINT and use a 1 for "Yes" and a 0 for "No" along with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2019 at 3:45 pm
Last but certainly not least, there is no way that I'd ever include spaces or other special characters in the columns so as to make them require brackets....
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2019 at 3:43 pm
While it does depend, in general I'd think that while the DBA might be not responsible for those design items, they likely will be held accountable for...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2019 at 3:32 pm
We have databases that need to, eventually, fully migrate to PostgreSQL for the future environment they will be hosted on.
Got it. Thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 9:36 pm
I know it sounds crazy but I just went through something similar just 15 minutes ago. The problem was that the SQL Service wasn't started. When I manually started it,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 9:06 pm
I guess my question would be... if you have to keep Postgre in sync with the SQL Server data, why are you using Postgre???
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 8:14 pm
You are more than a year behind on SQL Server cumulative updates. I can only imagine but would suspect that you're probably behind on Windows Updates, as well. If for...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 7:04 pm
Just to be sure, it wasn't meant as any kind of slam for missing something, Phil. I absolutely thought it excellent emphasis on a problem that would...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 6:33 pm
Thanks Jonathan. query we have will run always with same set of parameters and this query is in PROD. so I can't run DBCC FREEPROCACHE
You could, however, lookup how...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 5:53 pm
Jeff, your advice was so excellent, I clearly didn't bother reading it properly 🙂
Just to be sure, it wasn't meant as any kind of slam for missing something, Phil. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 5:50 pm
Following on from Jeff's excellent advice, I'd like to add a little more. I'd suggest removing all spaces from your column names ... makes your code much less cumbersome...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 2:40 pm
Viewing 15 posts - 8,986 through 9,000 (of 59,102 total)