Viewing 15 posts - 691 through 705 (of 716 total)
The 4000 series Ryzen CPUs seem to be great value in terms of performance/power. H-series are competitive with desktop chips for performance. U-series have more moderate performance, and are geared...
October 1, 2020 at 1:51 pm
So we have noticed our trigger that does insert from one table to another if there is an update or insert, so we noticed the timestamp GETDATE() has been from...
September 30, 2020 at 1:43 pm
You have a nested array.
SELECT JSON_VALUE(@JsonValue, '$.CoordSets[0][0].Lat');--returns 51.9642514
Are the double square brackets intentional?
September 28, 2020 at 1:35 pm
With SQL Server 2019, you can enable trace flag 460 to get detailed messages that identify the column and even offending value.
September 25, 2020 at 1:44 pm
More or less, eventually, depending on whether you're looking at raw or compressed data size... And assuming your client doesn't time out or crash from an out-of-memory condition.
Once client-side, the...
September 23, 2020 at 9:00 pm
Thanks to TSQL's support of updates with from clauses, I frequently write new or ad-hoc updates in this format (at least in development) to make testing easy:
update...
September 21, 2020 at 1:30 pm
No.
How were DDColumnObject and DDErrorLog modified? via SSMS GUI? Or with TSQL alter table statements?
If you used the GUI, it may have re-created the tables rather than simply altering.
August 27, 2020 at 6:21 pm
The trigger (and insert) would be on the view if you're trying to prevent insert into dbo.Badgeid and instead insert into Badgeid2.
Are you saying you also still want data inserted...
August 25, 2020 at 1:19 pm
August 24, 2020 at 10:23 pm
Not the original question, but bubbling up unchanged error is another advantage of THROW. If you want to bubble up the error, unchanged, you can simply call THROW, and it...
August 5, 2020 at 3:41 pm
"SELECT CASE WHEN NULL = NULL THEN 'No' ELSE 'Yes' END AS Result
Result would be no because one null value cannot be equal to another because null means 'UNKNOWN'."
Perhaps just...
July 1, 2020 at 1:55 pm
You probably want a covering index like:
CREATE NONCLUSTERED INDEX ncix_PropertyProduct_Cover ON dbo.PropertyProduct
(
Warehouse ASC,
Product ASC
)
INCLUDE(Id,PropertyId,Value);
June 9, 2020 at 1:13 pm
SELECT CAST(ROUND(COLUMN_A*100.0/(CASE WHEN COLUMN_B = 0 THEN -1 ELSE COLUMN_B END),2) as decimal(5,2)) as "Percentage"
You lost the ROUND() function's length parameter in that version
April 14, 2020 at 9:21 pm
You can use gzip. But make sure you use 7z.exe, not 7za.exe -- https://sevenzip.osdn.jp/chm/cmdline/index.htm:
7za.exe supports only 7z, xz, lzma, cab, zip, gzip, bzip2 and tar formats.
https://sevenzip.osdn.jp/chm/cmdline/switches/type.htm:
If...
March 24, 2020 at 1:55 pm
Viewing 15 posts - 691 through 705 (of 716 total)