SQL Powershell

Post SQL Server Installation steps with PowerShell

  • Script

I bet, each DBA would change some settings after the SQL Server installation as per their company standard . I wrote this PowerShell script for one of my client who has below standards: Port should be 1433, static Disable SQL telemetry* & SQLWriter services Change recovery model to FUll for all databases except tempdb and […]

5 (2)

2020-07-02 (first published: )

713 reads

Output multiple datasets from one INVOKE-SQLCMD command

  • Script

A common question that I've seen online is how do I return multiple sql datasets from a single query using INVOKE-SQLCMD. Most of the answers out there say it is not possible, but it is in fact possible by using the OutputAs dataset parameter. This parameter outputs a dataset that has all of the information […]

2020-04-24 (first published: )

586 reads

Blogs

Blog .NET for Apache Spark UDFs Missing Shared State

By

The Problem When you use a UDF in .NET for Apache Spark, something like...

Migrating SQL Server container images to the Github Container Registry

By

A couple of months ago Docker announced that they would be implementing a 6...

Daily Coping 29 Oct 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

How to improve the performance of insert?delete?update sql statement

By 892717952

as it was said in the title, which we should pay attention to when...

TDE Drama

By Brandie Tarvin

My workplace uses a 3rd party key management system as an encryption provider for...

The Best Query

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Best Query

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

The Best Query

See possible answers