Dokumentation zu Cloud SQL for SQL Server
Cloud SQL for SQL Server ist ein verwalteter Datenbankdienst, mit dem Sie Ihre SQL Server-Datenbanken in Google Cloud einrichten, pflegen und verwalten können.
Spezifische Informationen zu Microsoft SQL Server finden Sie in der SQL Server-Dokumentation.
Weitere Informationen
Proof of Concept mit einem Guthaben in Höhe von 300 $starten
-
Zugriff auf Gemini 2.0 Flash Thinking erhalten
-
Kostenlose monatliche Nutzung beliebter Produkte wie KI-APIs und BigQuery
-
Keine automatischen Abbuchungen, keine Verpflichtung
Mehr als 20 Produkte immer kostenlos nutzen
Sie haben Zugriff auf mehr als 20 kostenlose Produkte für gängige Anwendungsfälle, darunter KI-APIs, VMs, Data Warehouses und mehr.
Training
Schulungen und Tutorials
Google Cloud Fundamentals: Core Infrastructure
In diesen Vorträgen, Demos und praktischen Labs erhalten Sie einen Überblick über Google Cloud-Produkte und -Dienste. Sie lernen die Vorzüge von Google Cloud kennen und erfahren, wie Sie cloudbasierte Lösungen in Ihre Unternehmensstrategien einbinden.
Training
Schulungen und Tutorials
Architecting with Google Cloud: Design and Process
Dieser Kurs bietet einen Mix aus Vorträgen, Designaktivitäten und praktischen Labs, in denen gezeigt wird, wie Sie in Google Cloud mithilfe bewährter Designmuster hochgradig zuverlässige und effiziente Lösungen erstellen sowie hochverfügbare und kostengünstige Bereitstellungen ausführen.
Training
Schulungen und Tutorials
Mit Google Cloud SQL eine in Active Directory integrierte SQL-Serverinstanz erstellen
In diesem Blogpost werden die grundlegenden Schritte zum Erstellen einer SQL Server-Instanz beschrieben, die in Managed Service for Microsoft Active Directory integriert ist.
Anwendungsfall
Anwendungsfälle
Daten mithilfe von Snapshot-Replikation von SQL Server 2017 zu Cloud SQL for SQL Server migrieren
Hier erfahren Sie, wie Sie Daten von Microsoft SQL Server 2017 Enterprise, das in Compute Engine ausgeführt wird, zu Cloud SQL for SQL Server 2017 Enterprise migrieren.
Migration
Replikation
Anwendungsfall
Anwendungsfälle
Daten mithilfe von Sicherungsdateien zwischen SQL Server 2008 und Cloud SQL for SQL Server migrieren
Hier erfahren Sie, wie Sie Daten von SQL Server 2008 zu Cloud SQL for SQL Server 2017 Enterprise migrieren.
Migration
Anwendungsfall
Anwendungsfälle
Übersicht über den Datenstandort
Informationen zum Erzwingen von Datenstandortanforderungen für Daten mit Cloud SQL.
Datenstandort
Daten
Anwendungsfall
Anwendungsfälle
Secrets in Cloud SQL mit Secret Manager verwalten
Hier erfahren Sie, wie Sie mit Secret Manager vertrauliche Informationen zu Cloud SQL-Instanzen und -Nutzern als Secrets speichern.
Secret Manager
Secret
Codebeispiel
Codebeispiele
Python SQLAlchemy
SQLAlchemy mit Ihrer Cloud SQL for SQL Server-Datenbank verwenden
Codebeispiel
Codebeispiele
Node.js-Beispiel
Verbindung zur Cloud SQL for SQL Server-Datenbank in Node.js herstellen
Codebeispiel
Codebeispiele
PHP PDO
Verbindung zur Cloud SQL for SQL Server-Datenbank mithilfe von PHP PDO herstellen
Codebeispiel
Codebeispiele
Beispiel für Go-Webanwendung
Einfache Beispiele zum Herstellen einer Verbindung zu Cloud SQL for SQL Server mithilfe von Go
Codebeispiel
Codebeispiele
Mit Terraform Cloud SQL for SQL Server-Instanzen mit Optionen für private Netzwerke erstellen
Codebeispiel
Codebeispiele
.NET-Beispiel
Diese Beispielanwendung zeigt, wie Daten in Google Cloud SQL mit einer SQL Server-Datenbank gespeichert werden, wenn sie in der flexiblen Google App Engine-Umgebung ausgeführt wird.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-09-04 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# Cloud SQL for SQL Server documentation\n======================================\n\n[Read product documentation](/sql/docs/sqlserver/features)\nCloud SQL for SQL Server is a managed database service that\nhelps you set up, maintain, manage, and administer your\nSQL Server databases on Google Cloud.\nFor information specific to Microsoft SQL Server, see the\n[SQL Server documentation](https://docs.microsoft.com/sql/sql-server/sql-server-technical-documentation?view=sql-server-2017).\n\n[Learn more](/sql/docs/sqlserver/features)\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Create instances](/sql/docs/sqlserver/create-instance)\n\n-\n\n [Connection Overview](/sql/docs/sqlserver/connect-overview)\n\n-\n\n [Enable and disable high availability on an instance](/sql/docs/sqlserver/configure-ha)\n\n-\n\n [Create and manage SQL Server databases](/sql/docs/sqlserver/create-manage-databases)\n\n-\n\n [Create and manage SQL Server users](/sql/docs/sqlserver/create-manage-users)\n\n-\n\n [Exporting and importing using BAK files](/sql/docs/sqlserver/import-export/import-export-bak)\n\n-\n\n [Export and import using SQL dump files](/sql/docs/sqlserver/import-export/import-export-sql)\n\n-\n\n [Create backups](/sql/docs/sqlserver/backup-recovery/backups)\n\n-\n\n [Configure database flags](/sql/docs/sqlserver/flags)\n\nfind_in_page\n\n### Reference\n\n-\n\n [cloud sql command-line](/sql/docs/sqlserver/cloud-sdk)\n\n-\n\n [REST API](/sql/docs/sqlserver/admin-api/rest)\n\n-\n\n [Use the Cloud SQL Admin API](/sql/docs/sqlserver/admin-api)\n\n-\n\n [Best practices](/sql/docs/sqlserver/best-practices)\n\n-\n\n [Performance tips](/sql/docs/sqlserver/admin-api/how-tos/performance)\n\n-\n\n [Authorize requests](/sql/docs/sqlserver/admin-api/how-tos/authorizing)\n\n-\n\n [Configure VPC Service Controls](/sql/docs/sqlserver/admin-api/configure-service-controls)\n\n-\n\n [Client libraries and sample code for Cloud SQL](/sql/docs/sqlserver/admin-api/libraries)\n\n-\n\n [Cloud SQL Admin API error messages](/sql/docs/sqlserver/admin-api-error-messages)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/sql/docs/sqlserver/pricing)\n\n-\n\n [Quotas and limits](/sql/docs/sqlserver/quotas)\n\n-\n\n [Troubleshoot](/sql/docs/sqlserver/troubleshooting)\n\n-\n\n [Cloud SQL feature support by database engine](/sql/docs/feature_support)\n\n-\n\n [Release notes](/sql/docs/sqlserver/release-notes)\n\n-\n\n [Billing questions](/sql/docs/sqlserver/billing-questions)\n\n-\n\n [Get support](/sql/docs/sqlserver/getting-support)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nUse cases \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Google Cloud Fundamentals: Core Infrastructure\n\n\nThese 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.\n\n\n[Learn more](/training/course/core-infrastructure) \nTraining \nTraining and tutorials\n\n### Architecting with Google Cloud: Design and Process\n\n\nThis 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.\n\n\n[Learn more](/training/course/architecting-design-process) \nTraining \nTraining and tutorials\n\n### Creating a SQL Server instance integrated with Active Directory using Google Cloud SQL\n\n\nThis blog post describes the basic steps required to create a SQL Server instance integrated with Managed Service for Microsoft Active Directory.\n\n\n[Learn more](https://cloud.google.com/blog/topics/developers-practitioners/creating-sql-server-instance-integrated-active-directory-using-google-cloud-sql) \nUse case \nUse cases\n\n### Migrating data from SQL Server 2017 to Cloud SQL for SQL Server using snapshot replication\n\n\nShows how to migrate data from Microsoft SQL Server 2017 Enterprise running on Compute Engine to Cloud SQL for SQL Server 2017 Enterprise.\n\nMigration Replication\n\n\u003cbr /\u003e\n\n[Learn more](/solutions/migrating-data-from-sql-server-to-cloud-sql-for-sql-server) \nUse case \nUse cases\n\n### Migrating data between SQL Server 2008 and Cloud SQL for SQL Server using backup files\n\n\nShows how to migrate data from SQL Server 2008 to Cloud SQL for SQL Server 2017 Enterprise.\n\nMigration\n\n\u003cbr /\u003e\n\n[Learn more](/solutions/migrating-data-between-sql-server-2008-and-cloud-sql-for-sql-server-using-backup-files) \nUse case \nUse cases\n\n### Data residency overview\n\n\nLearn how to use Cloud SQL to enforce data residency requirements for data.\n\nData residency data\n\n\u003cbr /\u003e\n\n[Learn more](/sql/docs/sqlserver/data-residency-overview) \nUse case \nUse cases\n\n### Use Secret Manager to handle secrets in Cloud SQL\n\n\nLearn how to use Secret Manager to store sensitive information about Cloud SQL instances\nand users as secrets.\n\nSecret Manager secret\n\n\u003cbr /\u003e\n\n[Learn more](/sql/docs/sqlserver/use-secret-manager) \nCode sample \nCode Samples\n\n### Python SQLAlchemy\n\n\nUse SQLAlchemy with your Cloud SQL for SQL Server database\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/cloud-sql/sql-server/sqlalchemy) \nCode sample \nCode Samples\n\n### Node.js sample\n\n\nConnecting to your Cloud SQL for SQL Server database in Node.js\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/cloud-sql/sqlserver/mssql) \nCode sample \nCode Samples\n\n### PHP PDO\n\n\nConnecting your Cloud SQL for SQL Server database using PHP PDO\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/cloud_sql/sqlserver/pdo) \nCode sample \nCode Samples\n\n### Go web app sample\n\n\nSimple examples of connecting to Cloud SQL for SQL Server using Go\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples/tree/master/cloudsql/sqlserver/database-sql) \nCode sample \nCode Samples\n\n### Terraform for Cloud SQL networking\n\n\nUse Terraform to create Cloud SQL for SQL Server instances with private networking options.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/cloudnetworking-config-solutions) \nCode sample \nCode Samples\n\n### .NET sample\n\n\nThis sample application demonstrates how to store data in Google Cloud SQL with a SQL Server database when running in Google App Engine Flexible Environment.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/dotnet-docs-samples/tree/master/cloud-sql/sql-server)\n\nRelated videos\n--------------"]]