Viewing 15 posts - 61 through 75 (of 198 total)
I use CONTEXT_INFO() regularly to "disable" triggers just for one session (e.g. migration scripts or bigger updates that should not touch the history tables / updated_at / _by columns or...
God is real, unless declared integer.
I agree - there is no real reason, to avoid MERGE. And if it seems to difficult to understand, you may need just some practice 🙂
I use it very often...
God is real, unless declared integer.
Short question: WHY should I backup direct from my local server to cloud storage?
Wouldn't it be much better / faster to create the backup locally and copy it to the...
God is real, unless declared integer.
God is real, unless declared integer.
@Eirikur: of course it is possible to do the calculation with bit shifting, reversing, converting to binary etc., but WHY? Just because it is possible and makes some old assembler...
God is real, unless declared integer.
Very nice and informative article, but I miss one important point:
Unix timestamps are based on the UTC timezone (this may be clear for you but not for a random junior...
God is real, unless declared integer.
I wonder, where it would really help me.
The usual business logic (as total = amount * single_price or gross_price = net_price * (1 + tax_rate)) does not really be needed...
God is real, unless declared integer.
This article was wrongly linked under the topic "Columnstore Indexes are Finally Sorted in SQL Server 2022" in the newsletter from 20th July 2022.
I didn't find Steve Jones article with...
God is real, unless declared integer.
@Emmit:
why do you not use
DATEFROMPARTS(YEAR(cd.BirthDate), MONTH(cd.BirthDate), ABS(CHECKSUM(NEWID())) % (DAY(EOMONTH(cd.BirthDate))) + 1) AS new_birth_date
It would return random dates from month first to the month's last day.
God is real, unless declared integer.
why should this a problem? Random is random and each rule you add reduces the "complexity". If I know, that it must not be the original birth date, there are...
God is real, unless declared integer.
Viewing 15 posts - 61 through 75 (of 198 total)