Viewing 15 posts - 16 through 30 (of 191 total)
In a world with changing requirements, something is only feature complete until someone finds new use-cases.
I really wonder, why nobody ever has tried (or better was sucessfull) of running...
April 29, 2025 at 5:17 pm
How can something be called feature complete, when it has a feature, but it is still clumsy? Is a person with a crippled limb "feature complete"?
Examples: see Brent Ozars 1st...
April 28, 2025 at 11:38 am
Vote for DB-First too - as long it are additions to the database, e.g. new columns or tables etc. As long you provide good default values (for new columns), the...
April 16, 2025 at 2:06 pm
I think this is an AI generated article that contains lots of failures posted by a person with no real knowledge that was not even willing to test the results...
March 26, 2025 at 9:05 am
you can speed your WHILE loops up, when you simply do
WHILE 1 = 1 -- endless loop
BEGIN
UPDATE TOP (@batchsize) ... WHERE ...
...
March 26, 2025 at 8:56 am
Regarding to the costs of local storage:
On "my" SQL Server we bought four 16 TB SSD drives last year (there were no more internal spots free) that can store the...
March 10, 2025 at 10:09 pm
I know a little "prompt" tool that could help here ;), that being said, I hate magic numbers more than nulls.
Querying for GETDATE() BETWEEN valid_from AND ISNULL(valid_to, '20991231') is...
February 28, 2025 at 5:12 pm
Allowing no NULL in valid_from / valid_to seems to be a good idea. But implement it with a DEFAULT = '18991231' on BOTH columns (as at one of my previous...
February 28, 2025 at 8:45 am
I don't see the need for this undocumented command for this case (attaching a file). In reality it would cause more problems that it solves.
The command for attaching a database...
January 27, 2025 at 4:45 pm
Are now bots commenting and praising an AI generated article?
For the sake of completnes in SQL 2019 you can use STRING_AGG() to aggregate the text of multiple lines - something...
January 3, 2025 at 9:29 pm
@Snehalatha Mannar: LEFT(), RIGHT(), SUBSTRING(), REPLACE(), CHARINDEX() and combining strings by adding them is part of every ANSI-SQL-Standard compatible language, so you can use them to do easily what STUFF()...
January 3, 2025 at 1:27 pm
Someone seems to know, how to ask a KI for a full explanation with examples for an SQL function...
If this would be a manual written article, you would have realized...
January 3, 2025 at 9:12 am
In the praxis you want to rename the files / folder too, since it is usually very inconsistent to have a database ArchiveSales with OldSales.mdf / ldf
Therefore for a clean...
November 27, 2024 at 1:27 pm
Most servers have autopatching enabled and assigned to different groups that defines on which weekday at which hour they are allowed to restart.
Some servers (as our SQL Servers) are patched...
November 18, 2024 at 1:55 pm
when I cast the values as VARBINARY(MAX) it works too.
TRUNCATE TABLE dbo.Image_Staging; TRUNCATE TABLE dbo.Images
INSERT INTO dbo.Images (imageid, imagestatus, imagemodified, imagebinary) VALUES (1, 1, GETDATE(), HASHBYTES('SHA2_512',...
November 11, 2024 at 9:30 am
Viewing 15 posts - 16 through 30 (of 191 total)