Viewing 15 posts - 1 through 15 (of 125 total)
I agree, but I personally don't like multi character aliases. For me, they clutter the code and make it less readable. I like to name them a,b,c,d... and that makes...
April 28, 2020 at 7:24 am
The same as yours, just with a function, because that was what he was using.
March 2, 2020 at 1:57 pm
Not quite. Something much simpler:
My Test Code:
SELECT 'RCX_M01_SMD 1.0.6 ' AS AppVersion INTO #Temp
INSERT INTO #Temp SELECT 'RCX_D00_BackOffice 7.2.1.0'
INSERT INTO #Temp SELECT 'RCX_I04_OLAP 2.0.0.0 [2.0.0.5]'
INSERT INTO #Temp SELECT 'RCX_X02_MOB 10.6.2.3'
SELECT...
March 2, 2020 at 1:55 pm
This looks like an overkill to me. It is another help to people to understand STRING_SPLIT, but in your scenario I would use INSTR to get the positions of the...
March 2, 2020 at 6:37 am
"I’m more than a little tubby" You hide it well. 🙂
But I would like say: If you want to lose weight, 1st eat less, 2nd exercise.
February 13, 2020 at 7:01 am
Ok, let's say you have a system with 10 roles for security access. You could put the role number in X and a 1 or 0 in Y to represent...
February 13, 2020 at 6:55 am
Using the Employee table as an example: What if you need to have an unique index on the social security number to prevent duplicates. Would that not mute everything? (As...
October 15, 2019 at 6:48 am
Hmmm, that would still not make sense. Why would you want your own name displayed during debugging? Don't know your own name? 🙂
September 20, 2019 at 5:10 pm
Does it make sense to put USER_NAME() in the script? I think no and that is why 31% picked the second answer. 🙂
September 20, 2019 at 8:03 am
I understand Owen's intent, but the BIG lesson here is that you should think twice when running an update statement without a where clause. 🙂
August 5, 2019 at 7:06 am
January 7, 2019 at 4:12 am
October 17, 2018 at 11:32 am
Viewing 15 posts - 1 through 15 (of 125 total)