Docker - SQL

Table of contents

  1. SQL commands
    1. Databases

SQL commands

Databases

List Databases

  • Invoke-SqlCmd -Query “select name from sys.databases”

Backup Database

  • Invoke-SqlCmd -Query “BACKUP DATABASE [] TO DISK = N''"