I want to use the SSIS System Variable ServerExecutionID as a parameter for an Execute SQL Task in a BIML Script, but it doesn’t recognize it and gives an error:
Tag: sql server
SQL Server – Simple Recursive Query Example
(Brian) Every once in a while I need to be write a recursive query in SQL Server and I always forget the syntax so I have to track down a simple example to help me remember. However, if you are trying to write a recursive query for the first time, I find some of the examples online to be a […]
SQL – List All Tables, Space Usage Info & Other Details
(Prashanth Jayaram) One of the OP requested in the forum to find all table details of any database. The details which includes Number of Rows,table size, index size etc:-. Even I frequently writing queries to list all such details.
SQL Server 2014 Clustered Columnstore Indexes and Partitioning
(Richard Lee) One of the features of SQL 2014 which got less column inches (pun intended) than Hekaton/ in memory OLTP but was of more interest to me was the clustered columnstore indexes, or CCI for brevity.In some ways CCI is the next step on from non clustered columnstore indexes (NCCI) which was
Displaying Help For A Power Query Function
(Chris Webb) Matt Masson and Theresa Palmer gave an excellent presentation on Power Query and M for the PASS DW/BI Virtual Chapter a few days ago (hopefully it will be on their YouTube channel soon). One thing that they showed which I hadn’t seen before was that you can display help for a function i
SQL SERVER – Synchronize Data Exclusively with T-SQL
(Pinal Dave) Database developers often face the task to synchronize users’ data. Currently, to solve this task, there was developed quite a big number of various utilities. In this article, we will review the process of creating the new functionality to synchronize data exclusively with T-SQL.
The Performance of Traversing a SQL Hierarchy
(Dwain Camps) It is well known, and blogged to death, that the way to traverse a hierarchy that is stored in a T-SQL table as an adjacency list, is to use a recursive Common Table Expression (rCTE). But what if there was a faster way of traversing an adjacency list? Would you use it?
Automated collection of SQL Server database connections for monitoring
(Svetlana Golovko) We have quite a large number of databases and user connections to our SQL Server and we suspect that one application does not close connections properly. We need an automated way to monitor when this happens in order to contact developers to fix this issue.
DBA Myths: TRUNCATE TABLE deletes all the rows of a table instantly.
(Kenneth Fisher) Most DBAs and developers I’ve talked to over the years have felt that TRUNCATE TABLE is an instant DELETE. However would you believe that it doesn’t actually delete the data from the pages at all?
Azure: 99.95% SQL Database SLA, 500 GB DB Size, Improved Performance Self-Service Restore, and Business Continuity
(Scott Guthrie) Earlier this month at the Build conference, we announced a number of great new improvements coming to SQL Databases on Azure including: an improved 99.95% SLA, support for databases up to 500GB in size, self-service restore capability, and new Active Geo Replication support.