MDX+SSRS #34 – Query not returning results: there are good reasons
When we are learning MDX, we unavoidably have to deal with the tools we use. Adding confusions about the behaviors...
2013-11-10
3,037 reads
When we are learning MDX, we unavoidably have to deal with the tools we use. Adding confusions about the behaviors...
2013-11-10
3,037 reads
I came across Vincent Rainardi’s blog, and thought I’d share it with the readers.
Sherry Li and Tomislav’s 2012 MDX Cook...
2013-10-24
907 reads
A co-worker recently asked me why she would get timeout when updating a column in a big table. This column...
2013-10-24
16,736 reads
When tuning SQL queries, I find that I use the following three SET options quite often.
set showplan_xml on
When showplan_xml...
2013-10-24
1,861 reads
In Chapter 1 of the book MDX with SSAS 2012 Cookbook, in the first recipe “Putting data on x and...
2013-10-03 (first published: 2013-09-28)
4,134 reads
MDX with SSAS 2012 Cookbook
by Sherry Li and Tomislav Piasevoli
Packt Publishing 2013
The book is now available in both paperback...
2013-09-22
1,393 reads
I don’t have a definition of what is considered a large SQL table. I am pretty sure, however, that a...
2013-09-22
5,031 reads
I have been absent from this blog for the last few months. For those who have noticed, I’d like to...
2013-08-29
867 reads
I had a post last month, MDX #25 – Slicer or Sub-Cube?, verifying that the query context did not change with...
2013-03-22
1,236 reads
Many function names in MDX are very family-friendly. Children, parent, ancestors, descendants, ascendants, are all terms we often use in...
2013-03-02
2,448 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