SQL Server Service Broker – Sending and Receiving
This post is part of a series on this blog that will explore SQL Server Service Broker, a native messaging...
2016-04-19 (first published: 2016-04-12)
1,917 reads
This post is part of a series on this blog that will explore SQL Server Service Broker, a native messaging...
2016-04-19 (first published: 2016-04-12)
1,917 reads
It’s T-SQL Tuesday again and this month we are hosted by Jens Vestergaard (b/t) who want’s us to talk about...
2016-04-18 (first published: 2016-04-12)
1,688 reads
Happy Tuesday . Here's the latest technology based blogs and articles I have been reading this week. Mainly SQL Server themed...
2016-04-12
389 reads
If you are a SQL Server professional and are interested in spending a day with a bunch of other like-minded...
2016-04-12
114 reads
It finally comes to this date, 12th April 2016, the end of support for SQL server 2005! SQL 2005 is...
2016-04-12
683 reads
SQL Server 2005 is now out of support. I remember going to a SQL Server 2005 launch event at the...
2016-04-11
401 reads
One of my blog reader requested me to get the DB details(Server,DBName,Size,SpaceAvailable,LogSize,PercentUsed Log Space,compatiblilty mode, recovery model etc:-) using PowerShell...
2016-04-18 (first published: 2016-04-11)
1,494 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2016-04-15 (first published: 2016-04-11)
2,351 reads
I spoke at Visual Studio Live in Vegas on two topics. While the presentations have been uploaded to the site and were...
2016-04-11
425 reads
var sum = 0; db.getMongo().getDBs()[“databases”].forEach(function(x) { sum += db.getMongo().getDB(x.name).stats().dataSize }); print(sum );
OR
db = db.getSiblingDB(“admin”);
dbs = db.runCommand({ “listDatabases”: 1 }).databases;
var sum1=0;dbs.forEach(function(database) { sum1+=db.getMongo().getDB(database.name).stats().dataSize }); print(sum1);
2016-04-11
446 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