Viewing 12 posts - 1 through 13 (of 13 total)
What is the difference between the second and the third answer?
October 26, 2020 at 8:41 am
I think this is a bad solution, because you re-set the whole entry for key 1 again. Why not use the following?
people[1]['last_name'] = 'Dactill'
September 16, 2020 at 8:50 am
Well, technically speaking none of the answers is correct, because the variable is named
Username
which by the way violates PEP8 😛
March 11, 2020 at 9:11 am
Yes, looks good now. Thanks a lot, Grant!
Care to elaborate on the reason?
February 11, 2020 at 1:55 pm
Seems legit.
If this is helpful: I head over to https://www.sqlservercentral.com/questions and the link at the end ("Join the discussion") points to https://www.sqlservercentral.com/?post_type=topic&p=3715247. If I click on the according link in...
February 11, 2020 at 1:12 pm
No need to worry, Grant. I just found it weird, this never happened before and now twice in a week. I'm not that great forum poster that I need that...
February 11, 2020 at 12:55 pm
Nope, sorry, still not working. I'm speaking about "Join the discussion and add your comment" link at the end of the answered page. This also happened last week with https://www.sqlservercentral.com/questions/xact_state-trancount-and-rollback,...
February 11, 2020 at 12:20 pm
Slightly-OT: I think the discussion link for the 2020-02-11 QotD ("Execution Plan Types") is wrong, it currently points to this editorial. Could someone please fix that?
February 11, 2020 at 10:56 am
Ahhh, I smell an upcoming question where the single and double quotes are changed 😉
December 20, 2019 at 9:09 am
No, I only see NVARCHAR there, too. But this article talks about VARCHAR
August 19, 2019 at 9:26 am
Normally I would not use a regexp for such a simple task, two splits and a for loop is enough and much more readable:
for i in str.split("\n")[1:]:
...
July 31, 2019 at 9:23 am
Am I blind? What's the difference between answer 2 and 3?
BTW: Nice question. I always have to look up the substring syntax in any programming language. Even if I did...
March 27, 2019 at 1:46 am
Viewing 12 posts - 1 through 13 (of 13 total)