Viewing 15 posts - 8,986 through 9,000 (of 59,099 total)
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
As a matter of safety in the future, you should always include the schema name in the object name.
Also, you should get into the habit of using properly placed semi-colons...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 1:21 pm
The datatype for the Created column wasn't expressed in the test data that you nicely provided. I'm presuming that it's not actually a VARCHAR datatype in the following test data...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 12:53 pm
BWAAAAA-HAAAAA-HAAAAA!!! HOOOOOOIIIIIIEEEEE!!!!
I was in the process of submitting an article through the "Write for us" link and I saw the following at the top.

--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2019 at 4:10 am
Viewing 15 posts - 8,986 through 9,000 (of 59,099 total)