Viewing 15 posts - 4,081 through 4,095 (of 59,067 total)
What's wrong with just?
COL_ONE = COL_TWO AND COL_ONE=COL_THREE etc....Any other "clever" solution is almost certainly going to be more code.
And, usually slower. I haven't tested...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2022 at 6:18 am
So, enquiring minds want to know... did that latest code help?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2022 at 6:13 am
My guess would be that it cannot be YYYYDDD because the first D is always a 0. Perhaps YYYYoWW but why the bloody zero?
Now, if we could just get mcfarlandparkway...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2022 at 3:48 am
The only reason I didn't use STUFF is because if you DO use the code on data that has already been modified by the use of STUFF, then it's going...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2022 at 3:23 pm
Another good link can be found here.
https://www.sqlshack.com/introduction-to-row-level-security-in-sql-server/
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2022 at 3:12 pm
Back in the 80's, I was teaching people how to use these new fangled things called "PC's". We had Lotus 123 and WordPerfect. I had quickly become one of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2022 at 3:36 am
Ok... first of all, I STRONGLY recommend NOT using the (ugh!) severely performance challenged FORMAT function! 😀
After that, the following will do the trick and "forgive" original formatting mistakes like...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2022 at 3:15 am
How to add zero after 4 numbers in sql? Example - 2019011
Currently i am getting data like 201911. But i want zero after first 4 numbers.
Is it really a number...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2022 at 12:41 am
With that, I'll ask, are you really saying that you want to restrict the two users from seeing each other's products at any time and not just for the code...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2022 at 12:38 am
I quit smoking on the 29th of April, 2021 at 5:ooPM and haven't had a puff since. Having done such a thing a couple of times in my life for...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 8, 2022 at 9:35 pm
Work-wise, 2021 was a big win for me. I changed jobs from being an everything DBA & developer at a medium sized company to being a production DBA in...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 8, 2022 at 8:57 pm
As a bit of a sidebar, the 40 day thing isn't correct for things like the Moderna booster, which requires you to wait for 6 months before getting it. I...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 8, 2022 at 7:42 pm
data for user b will display for user a
If that's happening, then you've left something out of your post because, according to the code you've posted, it cannot happen.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 8, 2022 at 7:39 pm
If you want some help on this, I'm thinking that you simply haven't posted enough information about what you've done for anyone to help.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 8, 2022 at 7:34 pm
Google is your friend here. Pick your poison.
https://www.google.com/search?q=get+list+of+long+running+queries+SQL+Server
--Jeff Moden
Change is inevitable... Change for the better is not.
January 8, 2022 at 4:11 pm
Viewing 15 posts - 4,081 through 4,095 (of 59,067 total)