Sorting a String as a Number with T-SQL and SSIS
I was working on a Cube in Analysis Services for a client recently and needed to sort on a field...
2012-01-23
3,848 reads
I was working on a Cube in Analysis Services for a client recently and needed to sort on a field...
2012-01-23
3,848 reads
With some calculated members in MDX it only makes sense to see the calculation if a certain Hierarchy is used....
2011-10-28
2,530 reads
Auditing in SSIS can be a real headache. In this two part series blog I am going to try to...
2011-10-20
3,601 reads
Auditing in SSIS can be a real headache. In this two part series blog I am going to try to...
2011-10-16
1,738 reads
SSIS packages are great ETL tools and can do just about anything you need in terms of ETL. Most organizations...
2011-10-03
1,276 reads
Data mining is a great way to help your company make decisions and predict future values. The Data Mining Algorithms...
2011-09-30
8,711 reads
Previously I wrote a blog on how to do a for each loop to look through each col in an...
2011-09-29
1,261 reads
There is no native function built in to SSIS to get the previous row in the data flow. But with...
2011-09-29
1,775 reads
The Merge component in SSIS will take two sorted sources and union them while maintaining the original sort order. The...
2011-09-28
1,337 reads
If you have a parent package that is looping through a set of files and calling child packages and want...
2011-09-27
2,746 reads
By Arun Sirpal
“What exactly did it do on my server?” is the first question a DBA...
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
By Steve Jones
No, I’m not quitting or retiring. Just going on vacation, but I leave tonight...
Comments posted to this topic are about the item Let's Talk Certifications, which is...
Comments posted to this topic are about the item The Hidden Security Risks of...
Comments posted to this topic are about the item The Empty Aggregate
I have this table in a SQL Server 2025 database:
CREATE TABLE [dbo].[CustomerOrder] ( [OrderID] [int] NULL, [CustomerID] [int] NULL, [total] [money] NULL ) ON [PRIMARY] GOWhat is returned from this code? (answers are for the sum and then the count)
SELECT SUM(total) AS sum,
COUNT(total) AS count
FROM dbo.CustomerOrder;
See possible answers