Appearance
🧩 FAQ – Managed MS SQL
This FAQ provides quick guidance for common configuration and operational topics of Managed Microsoft SQL Server deployments.
Content is grouped by functional area for easier navigation.
⚙️ Setup / Configurations
Can I give a name to an instance ?
No named instances are allowed.
The SQL Server is deployed using the default instance name.
I am member of the setupadmin role, however I cannot configure a linked server.
Configuration of linked servers through the SSMS GUI is allowed only for sysadmin users.
See the official Microsoft documentation.
As a member of the setupadmin server role, you can configure linked servers using T‑SQL:
Refer to Microsoft documentation for sp_addlinkedserver.
🔐 Permissions
Do Swisscom register the sa password for unmanaged MS SQL services for recovery purpose?
No. Swisscom does not record your sa password.
Can I have temporary sysadmin rights on managed MS SQL services?
No, sysadmin rights on managed services are not allowed.
However, you may order a MS SQL DBMS DBA Mode which grants permanent sysadmin rights.
Why I can't map logins to an imported DB with the dbo_user?
Mapping must be performed with a T‑SQL command. Refer to the user manual.
Example command:
sql
USE [YourDatabase];
ALTER USER [dbo_user] WITH LOGIN = [login_name];With my user member of the customerAdmin role I cannot access a database, why?
If the database was created by another user, permissions are not assigned automatically. Ask the database creator to adjust permissions.
I am member of the db_owner role, but I don’t see logins to grant DB permissions – why?
Logins cannot be added through the UI. Use the following T‑SQL statement instead:
sql
USE [myDbName];
GO
CREATE USER [username] FOR LOGIN [loginname];
GODatabases
Can I import a DB with multiple data files and filegroups ?
Yes — multiple data files and filegroups are supported.
Can I alter ownership of a DB ?
No, this action is not allowed.
Can I take a database offline or online ?
Taking the database offline is possible for members of the db_owner role, but it cannot be brought online again via the portal.
Can I detach a database ?
Yes — if you are at least db_owner. After detaching, re‑attaching via the portal is not possible.
BULK INSERT doesn’t work, and I get “access denied” — why ?
Bulk Insert is supported. However, importing files from a server outside the resource domain will fail (one‑way trust). Place files on a VM in the resource domain.
Example usage:
sql
BULK INSERT dbo.MyTable
FROM '\\\\ResourceVM\\share\\datafile.csv'
WITH (
FIRSTROW = 2,
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
);SQL Agent Jobs
Can I change the schedules of the backup jobs ?
No — not allowed.
Can I change the schedules of the maintenance jobs ?
No — not allowed.
SQL Always On
Can I set an AG replica to readable ?
Yes — available as a Day‑2 Action.
Can I delete an availability group ?
No — this feature is not yet implemented. You can open a service request.
Why can’t I choose an individual name for a listener or availability group ?
The listener is an Active Directory object; names must follow the Swisscom resource domain naming convention. The availability group itself is a container and has no effect on application connections. Automation applies standardized names for smooth operations.
My application uses an existing listener in the old environment and it’s hard to change the connection string.
How can the new listener be reached after migration? Create a DNS alias for the old listener name pointing to the new listener.
Can I change the backup preference ?
No, this option is not yet implemented.
Can I change the availability mode of a group ?
No — it is set to synchronous by default to enable automatic failover.
The AG dashboard shows a warning even if it is empty – why?
This is expected behaviour. Empty AGs display a warning indicator by default.
If I remove a DB from an AG, will the DB also be removed from all instances ?
No — only the replica DB is removed; the primary remains. To remove it, run a Day‑2 Action or connect via SSMS/SSDT.
How can I replicate SQL logins from primary to secondary replica ?
Ensure identical SIDs on both servers so users map automatically after failover.
Example procedure:
sql
-- Retrieve SID from the primary
SELECT sid FROM sys.server_principals WHERE name = '_yourLogin_';
GO
-- Create login with identical SID on secondary
CREATE LOGIN _yourLogin_
WITH PASSWORD = '_yourStrongPW_', SID = _yourSID_;
GONote: SID is VARBINARY; do not use single quotes.
sql
---
This version is safe to drop directly into your `/faq/` folder — everything before **Compliance Notes** is there, lint‑safe, and properly sectioned.