Viewing 15 posts - 1 through 15 (of 39 total)
How are you specifying to run PowerShell, as a scripting task? Spitballing here, but could you run it as an Execute Process Task, with powershell.exe as the executable? Then in...
December 4, 2024 at 1:43 pm
We have in-house standards that say block designators are required (any programming language), even if there's only one statement in the block. Eliminates any chance of confusion (human or compiler/interpreter)....
October 18, 2024 at 2:44 pm
You beat me to to use of phone iconography. It's not just cell phones though. We have "desk phones" in the form of VOIP on our PCs. There's no handset...
September 23, 2024 at 1:42 pm
I noticed you're always updating the row you just read from the cursor, but the UPDATE re-reads the row. Add FOR UPDATE OF OUTCOST to the DECLARE CURSOR. Then at...
June 5, 2024 at 12:49 pm
PowerShell arrays are 0-based. We have 10 elements, so the index goes from 0 to 9. The assignment was $numbers = @(1,2,3,4,5,6,7,8,9,10). So $numbers[0] = 1, $numbers[1] = 2, ..., $numbers[4]...
December 22, 2023 at 3:59 pm
9 is the correct answer (shame on me), but there is a subtlety here with PowerShell arrays. Setting $numbers[4] = $null does not change the size of the array, only...
December 22, 2023 at 2:21 pm
If this is a one-time thing I'd probably script something locally to generate what winds up as an INSERT to a table variable, then put that into the script you...
April 28, 2023 at 1:41 pm
The number of items to be sorted would have been helpful. If you're sorting 10 things, it doesn't much matter; if you're sorting 10 million things...
April 14, 2021 at 12:33 pm
Just tried that in Python, in Jupyter Notebooks
print(-100.0/-100.0*10.0)
The output is 10.0
Also tried in Excel entering in the Formula bar
=-100.0/-100.0*10.0
The cell contain the value of 10. Excel is a Microsoft...
June 9, 2020 at 7:53 pm
This is apparently a Microsoft thing. Both Oracle and IBM DB2 put +, - , when used for signed numeric values, at highest priority. I couldn't find documentation on what...
June 9, 2020 at 4:28 pm
I don't really understand the explanation. In what was is anything "crazy" about the handling of negatives? Whatever the precedence you end up dividing a negative by a negative,...
June 9, 2020 at 12:45 pm
Pretty sure the restriction on ORDER BY is on the UNION, not the EXCEPT and INTERSECT. Can anyone confirm?
June 4, 2020 at 12:22 pm
One of the reasons our standards require the 'AS', when using an alias.
April 20, 2020 at 1:42 pm
This isn't really a PIVOT. You've selected where AA=1, and then also selected where AA=2 and renamed the column to "2", and somehow magically need to get them side by...
April 14, 2020 at 4:59 pm
Viewing 15 posts - 1 through 15 (of 39 total)