Viewing 15 posts - 1 through 15 (of 291 total)
First, create a table-valued function that can be re-used elsewhere such as the one below which I originally found somewhere on this site. Then use the function to remove any...
August 21, 2025 at 9:44 am
Interesting article, but TRUNCATE TABLE can be rolled back.
DROP TABLE IF EXISTS dbo.bob;
CREATE TABLE dbo.bob (bob_id INT IDENTITY(1, 1), bob_code VARCHAR(10) NOT NULL);
INSERT dbo.bob
(
...
July 23, 2025 at 10:46 am
When I was doing technical support for a mainframe package at a software house we had one customer where the IT director was absolutely obsessed with his new toy. He...
July 15, 2025 at 7:56 am
I've spent 2 weeks (so far) testing and tweaking a "minor" change to automate a manual process that provides month-end data for use in reporting. If I get this wrong,...
July 9, 2025 at 8:47 am
We've been stuck on 2016 for a long time and the thing I'm looking forward to most is not specific to 2025. It's the change to the "string or binary...
June 18, 2025 at 8:00 am
Ah yes, Shadow IT. I've had several cases where a solution has been built in a combination of Access, Excel and Word. It works fine until the data volume reaches...
May 2, 2025 at 2:55 pm
I spent all the first 36 years of my career working in the office and didn't think twice about the commute. When we all had to WFH in 2020, I...
April 23, 2025 at 2:29 pm
I think using deployment frequency as a metric is a bit like measuring programmer productivity by counting key strokes. You'd need a means of subtracting deployments that were necessary to...
April 3, 2025 at 8:04 am
This looks similar to a problem I posted a few years back (link below). It appears that there are some situations where data conversion is attempted before the filters are...
April 2, 2025 at 10:04 am
Going down to a 2 day week sounds lovely in theory. In practice, will our employers pay us the same for 2 days as they do now for 5? I...
April 2, 2025 at 9:35 am
This query will list the foreign keys defined in the database.
SELECT fk.name AS fk_name, ts.name AS sub_table, cs.name sub_table_column, tm.name AS master_table, cm.name AS master_table_column
FROM sys.foreign_keys fk
INNER...
February 25, 2025 at 2:19 pm
You don't specify the value for max in varchar and varbinary columns; it has a specific value already. Also, the text datatype is deprecated - you should use varchar(max) or...
February 24, 2025 at 11:24 am
The square brackets are there in case the object name contains special characters such as a space, eg. [Birth Date]. If you name objects without special characters, eg. BirthDate, the...
February 24, 2025 at 9:12 am
I would also recommend the "stairways". You can pick a topic and jump in at whatever your current level is.
https://www.sqlservercentral.com/stairways
February 19, 2025 at 11:43 am
My main worry is that these engines can only ever be as good as the data they're trained on. Presumably that means that malicious actors could flood forums, community sites,...
February 12, 2025 at 1:41 pm
Viewing 15 posts - 1 through 15 (of 291 total)