(Chris Shaw) Maintenance in General is a necessity for SQL Server. No different than changing the oil in your car or going to the Doctor for the annual exam. There is going to be times when you are going to need to run maintenance on your server.
Tag: sql server
Are You Programming In The Database?
(Michael J. Swart) Typically, T-SQL is not the best platform for programming (understatement). If you have many procedures that call other procedures, that’s a signal that you might be programming in the database.
Connecting to SQL Data Warehouse
(Robert Sheldon) The most frustrating thing with any new system is often just working out how to connect to it. Oddly, you can’t use SSMS with SQL Data Warehouse, but it is fine with SSDT, SSIS, Power BI desktop, sqlcmd, BCP, and a range of Microsoft cloud services – there are PowerShell Cmdlets too
PowerShell Script – Backup Every Database In SQL Server
(Pinal Dave) Using scripts can be a powerful way to automate things that a GUI will fail in many cases. I was working with a client who wanted to write a PowerShell script that would help him automate his backups. This is a pretty simple requirement that can be easily achieved using SMO as shown bel
How to Create SQL Server Logins with PowerShell
(Adam Bertram) Creating SQL logins on a single SQL Server is easy, you can simply open up SQL Server Management Studio, right click on the Security folder and choose new login. That’s fine for a single server, but what if you’ve got to create logins on dozens or hundreds of SQL instances? It’s time
The Tale of the Cunning Dev, Encrypted Procedures, DAC and God Mode = ON – Experts Opinion
(Pinal Dave) This is one of the most interesting story written by my friend Syrovatchenko Sergey. He is an expert on SQL Server and works at Devart. This article is one of the most creative and interesting story I have read in the recent past. It is beautiful and very interesting. I suggest you keep
SQL Server Compress and Decompress Functions
(Rajendra Gupta) Data compression has been available natively since SQL Server 2014 with row level and column level compression, but this was done by enabling compression at either the page level or row level. In SQL Server 2016 CTP 3.1, we have newly introduced functions for compression by which sp
Setting up powershell remote sessions
(dbafromthecold) Hey guys, differing from usual this is a quick post on setting up powershell remote sessions. I know you can remotely connect to powershell sessions using the Server Manager that comes with Windows Remote Administration Tools but it’s a bit of a clicky process and I like to eliminat
How to Create a Demo/Test Environment for Azure Data Catalog
(Melissa Coates) Azure Data Catalog is a Software as a Service (SaaS) offering in Azure, part of the Cortana Intelligence Suite, for registering metadata about data sources. Check this post for an overview of Azure Data Catalog key features. (I’m a big fan of what Azure Data Catalog is trying to acc
Field and Record vs. Column and Table
(Michael J. Swart) Erik Darling wrote me last week with this idea:
