Viewing 15 posts - 9,181 through 9,195 (of 59,099 total)
I have used Poor Man's T-SQL Formatter, in different editors, works nicely. Now I mostly use SQL Prompt, from Toolbelt in SSMS. The SQL Prompt Core,...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2019 at 1:59 pm
Thanks for your answer, Jeff. I've already solved the problem.
If you ended up using some other than a "GetNums" or other "Tally-like" function, you still have a problem, provided...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2019 at 1:44 pm
This post was previously mistaken for SPAM and removed. It may not have even appeared on the "Active Threads" list. With that in mind, I'm bumping this post for the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2019 at 1:39 pm
Much like Des Norton, I don't see the need for CASE in this case (pun intended).
--===== Create a table of random PeriodID's.
--...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2019 at 3:22 am
You can also use the following, which will take care of teh leap year
DECLARE @Year int = 2019;
SELECT PeriodID, EOMONTH(PeriodID + ' 01 ' + CONVERT(VARCHAR(4),...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2019 at 3:06 am
thanks for all the posts. I have it now, and it works great. I really appreciate all of you posting these options. As you can tell I am not...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2019 at 8:56 pm
So I created a proxy account and gave execute to this user on the xp_cmdshell...
NEVER give a non-DBA privs to execute xp_CmdShell directly. You have the proxy account setup...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2019 at 8:51 pm
I was just under the 'Active threads' view/forum. For this topic I saw there was an update, so I clicked on the time of the last update '26 minutes...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2019 at 5:56 pm
Break down those barriers! I've been on the opposite side where we have had DBA's who always looked busy and were never interested in what we did unless there...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2019 at 5:47 pm
MS have added database diagrams back into SSMS - https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017
Other than Windowing functions, this is one of the best moves MS has ever done. It certainly made my...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2019 at 2:12 pm
An identifier cannot be a numeric since it is a nominal scale.
Heh... you changed your form of rubbish. And, yes, you CAN do some very necessary math with...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2019 at 1:59 pm
Haven't made it to CU6, yet (we try to stay off the bleeding edge) so thanks for the heads up. Hopefully, this will also bump your post back close to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2019 at 7:42 pm
Just confirming that it's happened to me as well. Intermittent problems are the worst things to troubleshoot.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2019 at 7:39 pm
Heh... What??!! RTFM???!! That works??!! 😀 😀 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2019 at 7:36 pm
There are a couple of things we need to be able to help you.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2019 at 7:33 pm
Viewing 15 posts - 9,181 through 9,195 (of 59,099 total)