Viewing 15 posts - 721 through 735 (of 754 total)
Do you mean DT_BYTES (byte array), or byte type (single-byte equivalent of a tinyint)?
Eight bytes definitely won't fit in a one-byte type (Byte).
Do a select using CAST(rowversion AS BIGINT)...
November 9, 2020 at 5:48 pm
https://github.com/GuerrillaAnalytics/similarity is an updated version of the SimMetrics CLR assembly I've used for years.
October 27, 2020 at 8:18 pm
You got feedback (and a little sass) from some very experienced and talented database experts who have a lot of wisdom to impart. But occasionally the experts vent a little...
October 27, 2020 at 8:12 pm
AT TIME ZONE returns datetimeoffset. Take off the cast and it will show you that it is treating it as UTC.
"When inputdate is provided without offset information, the function applies...
October 22, 2020 at 7:20 pm
You need two other "tables":
October 15, 2020 at 1:33 pm
It doesn't just happen -- Somebody (e.g., editing table in SSMS or applying changes via a compare tool) or some process (e.g., SQL Agent job) is doing it.
You can track...
October 8, 2020 at 7:44 pm
Check the auto-close property on the relevant databases -- it defaults to on with SQL Server Express.
SELECT name,is_auto_close_on FROM sys.databases
WHERE is_auto_close_on = 1 AND name =...
October 2, 2020 at 6:39 pm
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
Viewing 15 posts - 721 through 735 (of 754 total)