Featured Blogger: Rob Garrison
I met Rob via email early this year as a volunteer helping with content for PASS, and I’ve been following...
2009-11-29
1,412 reads
I met Rob via email early this year as a volunteer helping with content for PASS, and I’ve been following...
2009-11-29
1,412 reads
Brian Moran (incoming Board member) did a nice interview with Kevin, worth reading, and some good stuff about areas where...
2009-11-29
1,382 reads
Ran across this list a while back, Jurgen posted his Top 200 Developer Blogs list and an OPML file of...
2009-11-29
1,394 reads
Well I said that I would try to post regularly and seeing as its Sunday and I haven’t posted for...
2009-11-29
583 reads
Do you know that there are actually two branches of SQL Server 2008 code right now? Actually I would bet...
2009-11-27
981 reads
If all goes well, by the time you read this on Thanksgiving I’ll be up in the mountains of Colorado....
2009-11-26
764 reads
I’m fond of browsing the discount shelf at the bookstore, it’s another way to see books that I might otherwise...
2009-11-26
571 reads
I’d like to say thanks to Andy and Judith over at the Ft. Worth SQL Server User Group for having...
2009-11-26
771 reads
Ola Hallengren has recently updated his popular free SQL Server database maintenance scripts to support the newest point release of...
2009-11-26
1,436 reads
If you are interested in speaking at the PASS European Conference 2010, to be held in Neuss, Germany, April 21-23,...
2009-11-26
580 reads
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...
By Chris Yates
Change is not a disruption in technology; it is the rhythm. New frameworks appear,...
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...
We have a report that has multiple tables that list the top 15 performers...
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