371 questions with SQL Server on Azure Virtual Machines tags

Sort by: Updated
1 answer

error with msodbc installation on docker

I had a container where I installed msodbc successfully 2023-02-11T19:37:57.4354185Z Step 26/48 : RUN sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17 2023-02-11T19:37:57.4581744Z ---> Running in 4a4103163268 2023-02-11T19:37:58.7290566Z Reading…

SQL Server on Azure Virtual Machines
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
672 questions
asked 2023-02-14T16:39:23.99+00:00
Huhn, Alexander 95 Reputation points
commented 2023-02-24T18:09:32.9233333+00:00
deherman-MSFT 35,556 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Azure SQL Database and General Azure Questions

Hello everyone, We are experinced in on-premise world, but when it comes to cloud world we are rookie. So, we have some questions to understand Azure Cloud. Like Oracle SQL and ODI in on-premise world, What is the best tool combination in terms of…

SQL Server on Azure Virtual Machines
Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,566 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,161 questions
asked 2023-02-20T08:10:34.9266667+00:00
Kerem Kabil 20 Reputation points
commented 2023-02-22T08:33:43.5366667+00:00
Kerem Kabil 20 Reputation points
3 answers

I installed the sql server in Azure Windows VM(IAAS) service to configure to azure webapp

I installed the SQL server in Azure Windows VM(IAAS) service to configure the azure web app using VNet Integration But it is not connected and also I set up the NSG rules to the VM. Can you plz suggest to me how to integrate IAAS SQL into Azure Web…

SQL Server on Azure Virtual Machines
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,383 questions
asked 2023-01-24T10:11:01.9933333+00:00
Chakali Sekshavali 0 Reputation points
edited the question 2023-02-16T02:40:45.44+00:00
Ryan Hill 27,031 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Need to migrate from SQL 2016 onprem to Azure Synapse or SQL server on VM or MI, which option is best in terms of cost and compatibility. Total database size is around 110GB.

Need to migrate from SQL 2016 onprem to Azure Synapse or SQL server on VM or MI, which option is best in terms of cost and compatibility. Total database size is around 110GB.

SQL Server on Azure Virtual Machines
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,346 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,680 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
516 questions
asked 2023-02-14T05:21:32.9566667+00:00
gupta, Utkarsh 41 Reputation points
edited a comment 2023-02-14T17:51:48.26+00:00
gupta, Utkarsh 41 Reputation points
3 answers One of the answers was accepted by the question author.

Should we use second network card for SQL Server AlwaysOn AG group private network on VMs?

We are using VMs for all SQL Servers. Network cards will be virtual as well. When we build AlwaysOn AG group, should we use two network cards for each nodes? One for private which can use for mirror/replication data, one for listener or public? Or…

SQL Server on Azure Virtual Machines
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,343 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
979 questions
asked 2023-02-09T23:51:30.1633333+00:00
Sky River 66 Reputation points
answered 2023-02-12T02:39:20.0733333+00:00
vipullag-MSFT 26,016 Reputation points
2 answers One of the answers was accepted by the question author.

How to restore azure sql server database from .bak file located in blob storage automatically with sql server agent jobs

Hi! My current setup consists of a blob storage account cointaining .bak backup files, in addition to an SQL server running on an Azure Virtual Machine. I want to automatically restore the database located at the sql server every night (when a new .bak…

SQL Server on Azure Virtual Machines
Azure SQL Database
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,631 questions
asked 2023-01-14T18:46:17.87+00:00
August Asheim Birkeland 20 Reputation points
commented 2023-01-28T11:32:00.1+00:00
August Asheim Birkeland 20 Reputation points
1 answer

How can I get SQL VM retail rates using REST API?

I want to get the platform retail rates of my SQL VMs that I have running, but through code using the REST API but can't find any rates for SQL VMs. I don't want to manually use the Azure Calculator and the rates and rate card attributes of resources are…

SQL Server on Azure Virtual Machines
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,346 questions
asked 2022-12-30T15:35:15.74+00:00
Matthew Blessing 46 Reputation points
edited a comment 2023-01-24T14:04:42.25+00:00
Matthew Blessing 46 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to connect to Azure SQL database from SSMS

Hi, I followed this blog to create SQL Virtual Machine. I am able to connect to the default DB within the VM itself, but Not able to connect through my ocal workstation(Laptop). TITLE: Connect to Server …

SQL Server on Azure Virtual Machines
asked 2021-10-27T11:39:21.447+00:00
Rajesh Swarnkar 851 Reputation points
edited the question 2023-01-18T04:05:04.14+00:00
vipullag-MSFT 26,016 Reputation points
1 answer One of the answers was accepted by the question author.

KQL to monitor Sql Server Performance for Azure SQLVM

All, I'm looking KQL query to monitor SQL Server performance for Azure SQLVm using Log analytics workspace. Thanks.

SQL Server on Azure Virtual Machines
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,024 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,566 questions
asked 2023-01-06T13:07:58.863+00:00
Rahul 276 Reputation points
commented 2023-01-11T11:02:33.1366667+00:00
Rahul 276 Reputation points
2 answers One of the answers was accepted by the question author.

How to expand sql datadisk

Hello everyone. I have an VM sql server with a DATADISK of 128GB I need to extend the disk and I see this: When I try to add for example 32Gb I obtain an error: So...I need first to modify my Datadisk 128GB to 256gb? (not possible to add only 32…

SQL Server on Azure Virtual Machines
asked 2023-01-10T18:16:22.473+00:00
Oscar Moyano 66 Reputation points
answered 2023-01-10T19:24:50.907+00:00
Oscar Moyano 66 Reputation points
1 answer One of the answers was accepted by the question author.

Does Get-AzSqlDatabase pull info from a SQL instance on a Azure VM ? I get this when i try.

Get-AzSqlDatabase : Can not perform requested operation on nested resource. Parent resource 'SQLInstance' not found. At S:\BackupStatus\All SQLServers.ps1:13 char:9 Get-AzSqlDatabase -ResourceGroupName $server.ResourceGroupNam ... …

SQL Server on Azure Virtual Machines
asked 2023-01-05T16:04:40.077+00:00
Narasimhan, Ranga 26 Reputation points
accepted 2023-01-05T19:31:15.24+00:00
Narasimhan, Ranga 26 Reputation points
5 answers

Azure VM Type

Hi Team, While calculating cost of the Azure VM (through Azure calculator) on which SQL Server Standard 2019 is to be installed, for Type dropdown, what is the difference between OS only and SQL Server? Does this means for calculating cost of an…

SQL Server on Azure Virtual Machines
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,566 questions
asked 2022-12-04T15:28:31.447+00:00
salilsingh-9961 346 Reputation points
answered 2023-01-02T02:04:12.567+00:00
Łukasz Przyjemski 11 Reputation points
1 answer One of the answers was accepted by the question author.

Backup PostgreSQL

Hi All i have Azure Database for PostgreSQL server(Resource Type: Azure Database for PsotgreSQL flexible server). I want to take the backup as application team is performing an upgrade.

SQL Server on Azure Virtual Machines
Azure Database for PostgreSQL
asked 2022-12-28T05:45:08.29+00:00
Glenn Maxwell 10,761 Reputation points
accepted 2022-12-28T11:05:52.737+00:00
Glenn Maxwell 10,761 Reputation points
3 answers One of the answers was accepted by the question author.

Connect SQLCMD in Linux using root user

Hi, how to connect SQLCMD in Linux using root user? We have SA account which got automatically disabled and there is no other login available to enable the SA Account or login to SQL Server SSMS. So, is there any way to login to SQL Server using…

SQL Server on Azure Virtual Machines
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,343 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,599 questions
asked 2022-12-25T11:52:10.307+00:00
Gnana Balaji Kanagaraj 41 Reputation points
answered 2022-12-26T09:26:27.503+00:00
Gnana Balaji Kanagaraj 41 Reputation points
1 answer One of the answers was accepted by the question author.

do we have option to retsore sqldb in azure sql backup to different subscription

Hi Team, Do we have option to restore sql db from one subscription to another one like azure vm backup? From azure portal, we are unable to see the selection if different subscription during the sqldb restore Can you please check and update?…

SQL Server on Azure Virtual Machines
Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,189 questions
Azure SQL Database
asked 2022-11-25T10:59:08.643+00:00
Siva 646 Reputation points
accepted 2022-12-26T03:29:28.193+00:00
Siva 646 Reputation points
1 answer

Azure Script to find IAAS disk configurations

Hi All, I am trying to use below PS script to find out azure IAAS disk configuration including (LUN,Data Caching,IO,Bandwidth). Connect-AzAccount Set-AzContext -Subscription 'SubName' $vm=Get-AzVM -ResourceGroupName ReGrpNAME -Name…

SQL Server on Azure Virtual Machines
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,566 questions
asked 2022-12-20T21:39:39.127+00:00
ACDBA 416 Reputation points
commented 2022-12-21T00:13:25.677+00:00
ACDBA 416 Reputation points
1 answer One of the answers was accepted by the question author.

Azure IAAS VM's comparison

Hi All, I have two node identical replicas having AG's. They are lifted to Azure from On-prem. I found similar difference in configuration. They dont match the sku's and disk configurations. Eg:- Data drive is Standard SSD in one VM and Premium…

SQL Server on Azure Virtual Machines
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,566 questions
asked 2022-12-12T21:50:42.627+00:00
ACDBA 416 Reputation points
accepted 2022-12-16T20:27:24.123+00:00
ACDBA 416 Reputation points
1 answer One of the answers was accepted by the question author.

Minimum SQL Server role to check SQL Agent status with PowerShell?

I need to execute the PowerShell to remotely check the SQL backup job status on each SQL Database instance across multiple SQL servers but as a Read Only user account. What are the minimum credentials or SQL Server role that I can use to query the…

SQL Server on Azure Virtual Machines
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,343 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,459 questions
asked 2022-12-08T13:06:01.163+00:00
EnterpriseArchitect 5,136 Reputation points
commented 2022-12-08T14:09:40.457+00:00
Alberto Morillo 33,426 Reputation points MVP
1 answer

SQL Renaming a column of a temp table

I can't get what is not working in the below bold highlighted line. I would be grateful to anyone who could help me! DECLARE @AssetWithDrawStartDate DATE; DECLARE @AssetWithDrawDate DATE; DECLARE @TradeStartDate DATE; DECLARE @TradeDate …

SQL Server on Azure Virtual Machines
Azure SQL Database
asked 2022-11-29T11:56:34.63+00:00
SamBa1927 1 Reputation point
commented 2022-12-02T05:08:04.287+00:00
ShaktiSingh-MSFT 14,386 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Restore TDE-Encrypted DataBase with BYOK in Azure Managed Instance to another Subscription

Is it Possible to Restore TDE-Encrypted Database with BYOK in Azure Managed Instance to another Subscription?

SQL Server on Azure Virtual Machines
Azure SQL Database
asked 2022-11-23T08:55:10.767+00:00
Youssef, Ghadeer 41 Reputation points
commented 2022-11-29T17:03:31.42+00:00
GeethaThatipatri-MSFT 29,017 Reputation points Microsoft Employee