Viewing 15 posts - 796 through 810 (of 59,070 total)
If you're using >= 2017, the TRIM function in T-SQL will handle the removal of double quotes and spaces and whatever other leading/trailing characters you may have to work with. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 2, 2024 at 2:33 pm
You're still writing SQL as if you were in BASIC or Fortran. Let's start off with the create table statement. By definition, and not as an option, table must...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 1, 2024 at 10:24 pm
Sorry... originally missed the meaning here and took the post down and replacing it with the following...
Just use a WHERE NOT IN. If something more sophisticated is desired, we'd need...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 1, 2024 at 9:12 pm
Resistance to any change in systems, until they break beyond repair, is a bad practice.
I strongly disagree... especially when someone claims that such a thing is a "practice", either...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 1, 2024 at 9:05 pm

--Jeff Moden
Change is inevitable... Change for the better is not.
February 1, 2024 at 8:53 pm
Heh... it's funny... I see so many people saying that people who are resistant to change are stuck in a rut. I guess it's never dawned on those people that...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2024 at 12:48 am
Note to self: PPTS.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2024 at 12:20 am
The problem is very likely that you're simply not doing any log file backups. Full backups do nothing to clear the log file.
If you want to be able to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 31, 2024 at 12:13 am
You need single quotes around the data that you're passing for @tempdata. I've added them in Red... one before the starting bracket and one after the ending bracket. Otherwise, your...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2024 at 11:52 pm
The method that both Ken and Phil are using is an arcane method known as a CROSSTAB and is a much more flexible manifestation than a PIVOT.
You can read more...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2024 at 11:39 pm
Another name for "conditional aggregation" is a CROSSTAB. MS use to carry a full entry in BOL on it until they came out with PIVOT. You'll be able to tell...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 30, 2024 at 11:30 pm
Publish well written standards, Enforce them. Period.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 28, 2024 at 5:06 am
I leave it at FULL because my database backups will try to do log file backups on any database not in the SIMPLE recovery model. That proc is also setup...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 24, 2024 at 6:46 pm
Honestly not fussed on the harshness of response if it contributes to moving the discussion forward - obviously meant in good humour.
It does sound like there are different opinions...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2024 at 5:59 pm
I also put something like that together where it would look like this
where ([definition] like '%INTO [tableName]%' or ([definition] like '%update [tableName]%')
That got me the closest...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2024 at 5:51 pm
Viewing 15 posts - 796 through 810 (of 59,070 total)