Why I Do What I Do #tsql2sday
I didn’t originally want to go back into IT after 15 years in the career field. It was 1999 and...
2019-02-12
148 reads
I didn’t originally want to go back into IT after 15 years in the career field. It was 1999 and...
2019-02-12
148 reads
The Midlands PASS April 2019 meeting will be held on April 2nd and we’ll be welcoming Matt Gordon (twitter | website)!
Meeting...
2019-02-06
139 reads
The March meeting for Midlands PASS will be held on March 5, 2019, from 5:30-7:30 PM. Brian Kelley and Paul...
2019-02-05
126 reads
Midlands PASS (Columbia, SC) will be hosting Shannon Lowder on February 5, 2019, from 5:30-8:00 PM. He will be speaking...
2019-01-29
139 reads
At SQL Saturday Nashville, I didn’t do a good job explaining the concept of presence. This is in reference to...
2019-01-25 (first published: 2019-01-14)
1,836 reads
Unfortunately, due to a last minute scheduling conflict on my side, we’ve had to reschedule the data modeling webcast with...
2019-01-16
139 reads
There are several organizations which take hair donations, but the one I prefer to donate to is Wigs for Kids,...
2019-01-10
181 reads
If tonight you’re in or can get to the Columbia, SC area, we have a treat for you! Former SQL...
2019-01-08
184 reads
On January 17, 2019, I will be giving a webcast with MSSQLTips on data modeling best practices. It’s scheduled for...
2018-12-28
1,315 reads
Have you ever been in a meeting where the attendees seemed to go down one rabbit trail after another? At...
2018-11-30 (first published: 2018-11-16)
1,809 reads
By Chris Yates
The New Arena of Leadership The role of the Chief Data Officer is no...
Presenting you with an updated version of our sp_snapshot procedure, allowing you to easily...
SELECT * feels convenient, but in SQL Server it bloats I/O, burns network bandwidth,...
I've noticed several instances of what looks like a recursive insert with the format:...
Comments posted to this topic are about the item Cleaning Up the Cloud
Comments posted to this topic are about the item The Maximum Value in the...
I have a table with this data:
TravelLogID CityID StartDate EndDate 1 1 2025-01-01 2025-01-06 2 2 2025-01-01 2025-01-06 3 3 2025-01-01 2025-01-06 4 4 2025-01-01 2025-01-06 5 5 2025-01-01 2025-01-06I run this code:
SELECT IDENT_CURRENT('TravelLog')I get the value 5 back. Now I do this:
SET IDENTITY_INSERT dbo.TravelLog ON INSERT dbo.TravelLog ( TravelLogID, CityID, StartDate, EndDate ) VALUES (25, 5, '2025-09-12', '2025-09-17') SET IDENTITY_INSERT dbo.TravelLog OFFI now run this code.
DBCC CHECKIDENT(TravelLog) GO INSERT dbo.TravelLog ( CityID, StartDate, EndDate ) VALUES (4, '2025-10-14', '2025-10-17') GOWhat is the value for TravelLogID for the row I inserted for CityID 4 and dates starting on 14 Oct 2025? See possible answers