Annoyed with LinkedIn
Funny how tools can surprise you. I’ve had in mind to set up a sub-group and invite all the SQLSaturday...
2009-10-26
594 reads
Funny how tools can surprise you. I’ve had in mind to set up a sub-group and invite all the SQLSaturday...
2009-10-26
594 reads
I posted some thoughts on business cards awhile back, had used up the ones I had and was time to...
2009-10-25
674 reads
I presented Social and Not So Social Networking for the DBA. Of the attendees, 16 submitted an eval. Here are...
2009-10-25
549 reads
I ordered the ' target=_blank>The Board Book from Amazon ($18) to try to get some ideas for how to do a...
2009-10-22
580 reads
I thought I’d finish up the notes by listing things that went well and not so well:
Jack Corbett really helped...
2009-10-22
534 reads
I’ve been wanting to write this for a while, but have been waiting for the board elections to close. Lots...
2009-10-22
838 reads
Eric Wisdahl posted some questions on my last update, and I thought I’d reply here to make my answers more...
2009-10-22
791 reads
Just released on the PASS site is that news that Tom Larock, Jeremiah Peschka, and Brian Moran are the new...
2009-10-21
618 reads
Picking up from yesterday, once we got through the confusion of the room changes everything settled down. I checked the...
2009-10-21
605 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-10-20
528 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,...
We have a tool called DB Moto that reads journals (like t-logs) and replicates...
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
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