Notes from SQLSaturday #107 in Houston
I’ve deliberately waited a bit to write this after the event, just to see what stood out after a week...
2012-05-01
465 reads
I’ve deliberately waited a bit to write this after the event, just to see what stood out after a week...
2012-05-01
465 reads
I had a chance over the weekend to finish reading the Verizon 2012 Data Breach Investigations Report. It’s a compilation...
2012-04-25
1,100 reads
I ran across this list of Sharepoint blogs by Rene Modery while doing some Sharepoint reading. He has an OPML...
2012-04-24
674 reads
I’ll be spending the day with the 2011 Idera ACE’s (aka the old aces) and the 2012 Idera ACES (the...
2012-04-20
688 reads
American Icon: Alan Mulally and the Fight to Save Ford Motor Company ($18 at Amazon) was a good read, with...
2012-04-17
766 reads
Just got the email, Orlando will be having its sixth annual SQLSaturday this year on September 29th, 2012, at Seminole...
2012-04-16
565 reads
I suppose there is an almost limitless number of mistakes that managers can do and do make, it’s the nature...
2012-04-16
1,005 reads
A few weeks ago I was running errands on a Saturday, with an almost final stop at Home Depot to...
2012-04-12
685 reads
If you want to blog you need ideas, something to write about, and sometimes that leads to the blank stare...
2012-04-09
713 reads
It’s helpful at work to understand things at work change from time to time and to consider the impact on you...
2012-04-06
994 reads
By Chris Yates
Change is not a disruption in technology; it is the rhythm. New frameworks appear,...
No Scooby-Doo story is complete without footprints leading to a hidden passage. In SQL...
By James Serra
A bunch of new features for Microsoft Fabric were announced at the Microsoft Fabric Community...
Comments posted to this topic are about the item Don't Forget About Financial Skills
Comments posted to this topic are about the item Building a Simple SQL/AI Environment
Comments posted to this topic are about the item Checking Identities
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