az sql db
Manage databases. Azure CLI reference
26 commands 5 options Its page in the Azure CLI reference
Commands
advanced-threat-protection-settingManage a database's advanced threat protection setting.audit-policyManage a database's auditing policy.classificationManage sensitivity classifications.copyCreate a copy of a database.createCreate a database.deleteDelete a database.exportExport a database to a bacpac.geo-backupManage SQL database geo redundant backups.importImports a bacpac into a new database, or an existing empty database.ledger-digest-uploadsManage ledger digest upload settings.listList databases on a server or elastic pool.list-deletedGet a list of restorable dropped databases.list-editionsShow database editions available for the currently active subscription.ltr-backupManage SQL database long term retention backups.ltr-policyManage SQL database long term retention policy.opManage operations on a database.renameRename a database.replicaManage replication between databases.restoreCreate a new database by restoring from a backup.showGet the details for a database.show-connection-stringGenerates a connection string to a database.show-deletedGet the details for a deleted database.str-policyManage SQL database short term retention policy.tdeManage a database's transparent data encryption.threat-policyManage a database's threat detection policies.updateUpdate a database.Options
--capacity, -cThe capacity component of the sku in integer number of DTUs or vcores.--edition, --tier, -eThe edition component of the sku.--family, -fThe compute generation component of the sku (for vcore skus only).--name, -nName of the Azure SQL Database.--server, -sName of the Azure SQL Server.