There’s A New North Central Regional Mentor
What has two thumbs and just signed on to be a PASS Regional Mentor? This guy!
Over the past couple weeks,...
2011-03-17
686 reads
What has two thumbs and just signed on to be a PASS Regional Mentor? This guy!
Over the past couple weeks,...
2011-03-17
686 reads
Here’s wishing you a Happy Pi Day…
Pi in Pie Pan
If my picture isn’t good enough, here’s a better representation of...
2011-03-14
495 reads
I mentioned the PASSMN meeting last week and thought a reminder might be worthwhile. Just in case you head has...
2011-03-13
576 reads
It’s that time of the month again. Time for T-SQL Tuesday! This month’s event is being hosted by Jes Schultz...
2011-03-08
690 reads
Over the last few years, I’ve blogged about and spoke at the SSWUG Virtual Conferences. It’s that time of the...
2011-03-07
469 reads
Follow the rest of this series at the XQuery for the Non-Expert – X-Query Resources introduction post.
Talk to the Experts
In the...
2011-03-07
1,249 reads
Come one, come all to the March PASSMN meeting – that’s the Minnesota SQL Server User Group. This month we’re going...
2011-03-04
656 reads
If you’re looking for a day of training in the Twin Cities, then check out Benchmark Learning’s2011 TechFuse event. The...
2011-03-02
608 reads
About a year ago, I started playing around with CLR and my desire to disable xp_cmdshell for my clients. As...
2011-02-23
478 reads
SSWUG Free Expo Event: Basic and Complex SSIS Features virtual conference is today! There’s a chance that you can probably...
2011-02-18
683 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