SQL Powershell

Technical Article

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)

You rated this post out of 5. Change rating

2020-07-02 (first published: )

2,662 reads

Technical Article

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 […]

You rated this post out of 5. Change rating

2020-04-24 (first published: )

7,328 reads

Blogs

Cyber Scams and Operation Shamrock

By

Erin West gave the keynote for the 2025 Techno Security & Digital Forensics East...

The Book of Redgate: Ingeniously Simple

By

Redgate has been known for many useful tools that are easy to use. We’ve...

Building a Todo List RESTful API in C++ with Docker, GitHub Actions, Azure ACR: A Beginner’s Guide

By

C++ is a highly versatile language for developing console applications, batch processing, and performance-critical...

Read the latest Blogs

Forums

BULK INSERT messing up import of CSV file with a comma in it

By water490

Hi everyone I am using BULK INSERT to load a CSV.  I have noticed...

Users Default Schema in a stored procedure.

By Michael L John

One of our systems contains data for multiple organizations.  OrgA should not be able...

Calculating Difference between Multiple Dates for a Given Condition in HH:MM:SS

By satnam.singh 44358

We have the following requirement:- Event_Time                 ...

Visit the forum

Question of the Day

Updating a Data API Builder Connection String

Can I use dab update to update a connection string in my Data API Builder configuration file?

See possible answers