Cloud SQL for SQL Server documentation
Cloud SQL for SQL Server is a managed database service that helps you set up, maintain, manage, and administer your SQL Server databases on Google Cloud. For information specific to Microsoft SQL Server, see the SQL Server documentation. Learn more
Start your proof of concept with $300 in free credit
- Get access to Gemini 2.0 Flash Thinking
- Free monthly usage of popular products, including AI APIs and BigQuery
- No automatic charges, no commitment
Keep exploring with 20+ always-free products
Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.
Documentation resources
Related resources
Google Cloud Fundamentals: Core Infrastructure
These lectures, demos, and hands-on labs give you an overview of Google Cloud products and services so that you can learn the value of Google Cloud and how to incorporate cloud-based solutions into your business strategies.
Architecting with Google Cloud: Design and Process
This course features a combination of lectures, design activities, and hands-on labs to show you how to use proven design patterns on Google Cloud to build highly reliable and efficient solutions and operate deployments that are highly available and cost-effective.
Creating a SQL Server instance integrated with Active Directory using Google Cloud SQL
This blog post describes the basic steps required to create a SQL Server instance integrated with Managed Service for Microsoft Active Directory.
Migrating data from SQL Server 2017 to Cloud SQL for SQL Server using snapshot replication
Shows how to migrate data from Microsoft SQL Server 2017 Enterprise running on Compute Engine to Cloud SQL for SQL Server 2017 Enterprise.
Migrating data between SQL Server 2008 and Cloud SQL for SQL Server using backup files
Shows how to migrate data from SQL Server 2008 to Cloud SQL for SQL Server 2017 Enterprise.
Data residency overview
Learn how to use Cloud SQL to enforce data residency requirements for data.
Use Secret Manager to handle secrets in Cloud SQL
Learn how to use Secret Manager to store sensitive information about Cloud SQL instances and users as secrets.
Python SQLAlchemy
Use SQLAlchemy with your Cloud SQL for SQL Server database
Node.js sample
Connecting to your Cloud SQL for SQL Server database in Node.js
PHP PDO
Connecting your Cloud SQL for SQL Server database using PHP PDO
Go web app sample
Simple examples of connecting to Cloud SQL for SQL Server using Go
Terraform for Cloud SQL networking
Use Terraform to create Cloud SQL for SQL Server instances with private networking options.
.NET sample
This sample application demonstrates how to store data in Google Cloud SQL with a SQL Server database when running in Google App Engine Flexible Environment.