An Artist I’m Not!
One of the gifts my Mom gave my children was a ‘Painting Rocks’ kit. Great marketing, six medium sized rocks,...
2011-01-07
550 reads
One of the gifts my Mom gave my children was a ‘Painting Rocks’ kit. Great marketing, six medium sized rocks,...
2011-01-07
550 reads
Last week I wrote about my goals for last year and some frustration at having to make some trade offs...
2011-01-06
567 reads
I can’t remember where I heard this recently, but it’s been stuck in my head as one of those bits...
2011-01-05
612 reads
The schedule is posted for SQLSaturday #62 coming to Tampa on January 15, 2011. I don’t have a presentation on...
2011-01-04
554 reads
Today we have a guest editorial from Andy Warren looking at the future of cloud computing and SQL Server.
2011-01-03
179 reads
I’m writing this the day before Xmas, trying to finish up a bunch of odd tasks before the holiday weekend...
2010-12-30
1,444 reads
Bury My Heart at Conference Room B: The Unbeatable Impact of Truly Committed Managers by Stan Slap ($15 @ Amazon) is...
2010-12-29
729 reads
My friend Malathi (Mala) Mahadevan has chaired the Louisville PASS Chapter for the past couple years, and will be heading...
2010-12-27
976 reads
Today we have a guest editorial from Andy Warren that asks you to look forward to the next year and think about your future.
2010-12-27
231 reads
This time the plan was to go to Arby’s because it was close and my friend Rob had coupons for...
2010-12-23
553 reads
SQL Server 2025 introduces native support for vector data types and external AI models....
By Steve Jones
Fear is fueled by a lack of imagination. The antidote to fear is not...
The slidedeck and the SQL scripts for the session Indexing for Dummies can be...
I'm building ETL packages in SSIS. My data comes from an OLE DB Source...
Comments posted to this topic are about the item Building AI Governance and Policies-...
Why is sql doing a full scan VS seeking on the index? I've included...
The DBCC CHECKIDENT command is used when working with identity values. I have a table with 10 rows in it that looks like this:
TravelLogID CityID StartDate EndDate 1 1 2025-01-11 2025-01-16 2 2 2025-01-11 2025-01-16 3 3 2025-01-11 2025-01-16 4 4 2025-01-11 2025-01-16 5 5 2025-01-11 2025-01-16 6 6 2025-01-11 2025-01-16 7 7 2025-01-11 2025-01-16 8 8 2025-01-11 2025-01-16 9 9 2025-01-11 2025-01-16 10 10 2025-01-11 2025-01-16The docs for DBCC CHECKIDENT say this if I run with only the table parameter: "If the current identity value for a table is less than the maximum identity value stored in the identity column, it is reset using the maximum value in the identity column. " I run this code:
DELETE dbo.TravelLog WHERE TravelLogID >= 9 GO DBCC CHECKIDENT(TravelLog, RESEED) GO INSERT dbo.TravelLog ( CityID, StartDate, EndDate ) VALUES (4, '2025-09-14', '2025-09-17') GOWhat is the identity value for the new row inserted by the insert statement above? See possible answers