Overview: which target supports what
The table shows the status per target, checked against the documentation of Microsoft, AWS and Google in November 2026. Limited means the feature exists, but with restrictions that can matter for your application; the sections below explain them. PostgreSQL, MySQL and Oracle have none of these features in their SQL Server form: for those engines the question is always what replaces them.
| Feature | SQL Server on a VM | Azure SQL Database | Azure SQL Managed Instance | Amazon RDS for SQL Server | Babelfish (Aurora PostgreSQL) | Cloud SQL for SQL Server |
|---|---|---|---|---|---|---|
| SSIS | Yes | Limited: via Azure-SSIS IR in Data Factory | Limited: via Azure-SSIS IR in Data Factory | Limited: up to 2022, AD required | No | No |
| SSRS | Yes | No | Limited: report server databases only | Limited: Standard and Enterprise only | No | No |
| SQL Server Agent | Yes | No | Yes | Yes | No | Yes |
| Service Broker | Yes | No | Limited: remote only to Managed Instances | Limited: within the instance only | No | Limited: within the instance only |
| CLR | Yes | No | Limited: assemblies from binary only | No | No | No |
| Database Mail | Yes | No | Limited: no file attachments | Limited: no Express, 1 MB attachments | No | No |
| Linked servers | Yes | No | Limited: SQL Server targets only | Limited: SQL Server and Oracle targets | Limited: read-only, SQL Server targets | Limited: enabled with a database flag |
| Cross-database queries | Yes | No | Yes | Yes | Limited: no cross-database DDL | Yes |
| MSDTC | Yes | Limited: elastic transactions only | Limited: DTC must be switched on | Yes | No | No |
| FILESTREAM / FileTable | Yes | No | No | No | No | No |
| xp_cmdshell / OLE Automation | Yes | No | No | No | No | No |
| Windows authentication | Yes | No | Limited: Kerberos for Entra principals | Limited: AWS or self-managed AD | Limited: Kerberos via AWS Managed AD | Limited: via Managed Microsoft AD |
| Full-text search | Yes | Yes | Yes | Yes | Limited: basic CONTAINS, English only | Yes |
SQL Server on a virtual machine (Azure VM, Amazon EC2, Compute Engine) or on your own hardware is the only target where everything keeps working unchanged. That is why it is often the first step for applications that depend heavily on these features: move first, replace the features one by one later.
SQL Server Integration Services (SSIS)
SSIS is Microsoft's ETL tool: packages (.dtsx files) that read data from files, other databases or FTP servers, transform it and load it somewhere else. Packages are deployed to the SSIS catalog, a database called SSISDB, or in older setups to msdb or the file system, and they usually run as SQL Server Agent job steps. SSIS runs on Windows next to the database engine and is licensed with it.
You use SSIS if the server has an SSISDB database, if Agent jobs have steps of type SSIS, or if msdb.dbo.sysssispackages contains your own packages. Also look for .dtsx files on file shares: those do not show up in the database.
- SQL Server on a VM: works as before. SSIS needs a SQL Server licence on the machine where it runs, and packages can read from and write to any engine with an ODBC or OLE DB driver.
- Azure SQL Database and Managed Instance: packages do not run inside the database. Azure Data Factory provides the Azure-SSIS Integration Runtime, managed Windows machines that run your packages, with
SSISDBhosted in Azure SQL Database or Managed Instance. On Managed Instance, SQL Server Agent can also schedule SSIS job steps. - Amazon RDS for SQL Server: SSIS is an option for Standard and Enterprise Edition up to SQL Server 2022, not on SQL Server 2025. The instance must be joined to Active Directory, only project deployment is supported, files must go through the
D:\S3folder, the Script component is not supported and connections are limited to SQL Server and Oracle. - Babelfish and Cloud SQL: no SSIS on the service itself. SSIS can run on a separate VM and connect to it; for Babelfish, check that the drivers and the T-SQL in the packages are supported.
- PostgreSQL, MySQL, Oracle: keep SSIS on a VM with ODBC connections, or rebuild the flows in Azure Data Factory, AWS Glue, Google Cloud Data Fusion or Dataflow, or in code or an open-source tool such as Apache Airflow. A rebuild is a project in itself: plan a test per package.
Reporting Services (SSRS) and Analysis Services (SSAS)
SSRS is a report server: a web portal and an engine that render paginated reports (.rdl) to PDF, Excel or the browser, with scheduled subscriptions by e-mail. It keeps its catalog in two SQL Server databases, by default ReportServer and ReportServerTempDB. The data in the reports can come from any source with a driver. From SQL Server 2025, Microsoft offers Power BI Report Server as its on-premises report server instead of a new SSRS version; it runs the same .rdl reports.
- SQL Server on a VM: works as before. The report server databases can also stay on a SQL Server while the application data moves elsewhere.
- Azure SQL Database: no report server. Power BI paginated reports in the Power BI service use the same
.rdlformat. - Azure SQL Managed Instance: cannot run SSRS as a service, but can host the report server databases for SSRS or Power BI Report Server running on a VM. Power BI paginated reports are the other route.
- Amazon RDS for SQL Server: SSRS is an option for Standard and Enterprise Edition on SQL Server 2016 to 2022; on SQL Server 2025 it is Power BI Report Server.
- Babelfish and Cloud SQL: no report server. Run SSRS or Power BI Report Server on a VM (its catalog needs a SQL Server) with the service as a data source, or move to Power BI, Amazon QuickSight or Looker.
- PostgreSQL, MySQL, Oracle: SSRS and Power BI Report Server can read from these engines through ODBC or their own providers, but their catalog stays on SQL Server. Otherwise the reports have to be rebuilt in another reporting tool.
SSAS (multidimensional cubes and tabular models) is a separate server product. Azure SQL Database and Managed Instance do not run it, Cloud SQL does not either, and Amazon RDS offers it as an option for Standard and Enterprise Edition, but not on SQL Server 2022 and later. The usual destinations are Azure Analysis Services, semantic models in Power BI or Microsoft Fabric, or SSAS on a VM.
SQL Server Agent
SQL Server Agent is the scheduler built into SQL Server: jobs with T-SQL, SSIS, PowerShell or command-line steps, plus alerts and operators. Backups, index maintenance, imports and nightly calculations often run as Agent jobs. The jobs live in msdb, not in your database, so they do not move with a backup.
Agent exists on a VM, on Managed Instance (only T-SQL, SSIS and some replication job steps), on Amazon RDS and on Cloud SQL. Azure SQL Database and Babelfish have no Agent; there you use Elastic Jobs, Azure Automation, pg_cron or a cloud scheduler. Other engines have their own scheduler: pg_cron for PostgreSQL, the Event Scheduler in MySQL, DBMS_SCHEDULER in Oracle. Moving Agent jobs is covered in a separate guide.
Service Broker
Service Broker is a message queue inside the database. One procedure sends a message to a queue (SEND), another reads it (RECEIVE), often started automatically by activation, and the message is part of the same transaction as the data. Applications use it for asynchronous work: sending an invoice after an order, processing in the background, or exchanging messages between databases. Query notifications (SqlDependency in .NET, used to refresh caches) also depend on Service Broker.
You use it if sys.service_queues contains queues that are not shipped with SQL Server, or if the code contains SEND, RECEIVE or BEGIN DIALOG.
- SQL Server on a VM: works as before.
- Azure SQL Database: not supported. Use Azure Service Bus or Azure Storage queues, or a queue table that the application reads.
- Azure SQL Managed Instance: works within the instance and between Managed Instances; routes to other servers, such as an on-premises SQL Server, are not possible. Service Broker is always on and cannot be disabled.
- Amazon RDS and Cloud SQL: works within one instance. Service Broker endpoints are not supported, so no messages to or from other servers.
- Babelfish: not supported. Use Amazon SQS or a queue table.
- PostgreSQL, MySQL, Oracle: a queue table that workers read with
SELECT ... FOR UPDATE SKIP LOCKED(supported by PostgreSQL, MySQL 8.0 and Oracle), PostgreSQLLISTEN/NOTIFYas a signal (not a durable queue), Oracle Advanced Queuing (Transactional Event Queues), or an external queue such as Azure Service Bus, Amazon SQS, Google Pub/Sub or RabbitMQ. Keeping message and data in one transaction needs extra care, for example with an outbox table.
CLR integration (.NET assemblies)
With CLR integration you load a .NET assembly into the database and call it as a function, procedure, trigger, aggregate or data type. Typical uses are regular expressions, string and date handling, calculations, compression, and sometimes file or web access. It is switched on with the server option clr enabled. SQL Server's own types such as hierarchyid, geometry and geography also run on CLR, but they are not your assemblies and are not affected.
You use it if sys.assemblies contains rows with is_user_defined = 1.
- SQL Server on a VM: works. Since SQL Server 2017 the setting
clr strict securityrequires assemblies to be signed or explicitly trusted. - Azure SQL Database: not supported.
- Azure SQL Managed Instance: supported, but only with
CREATE ASSEMBLY FROM BINARY; assemblies cannot be loaded from files, and code that reads file shares will not find them. - Amazon RDS for SQL Server: not supported on SQL Server 2017 and later, the versions RDS offers today. RDS supported CLR only in SAFE mode on SQL Server 2016 and earlier.
- Babelfish and Cloud SQL: not supported.
- Replacement: rewrite the logic in T-SQL or in the target's own language (PL/pgSQL, PL/SQL, MySQL stored routines) where possible, or move it to the application or a function (Azure Functions, AWS Lambda, Cloud Run functions). Regular expressions are built into PostgreSQL, MySQL 8.0 and Oracle, and into SQL Server 2025 and Azure SQL Database. Managed PostgreSQL services allow only a limited set of procedural languages.
Database Mail
Database Mail sends e-mail from T-SQL through an SMTP server with msdb.dbo.sp_send_dbmail: alerts from Agent jobs, but also order confirmations, reports as attachments or query results sent by procedures. Profiles and accounts live in msdb.
You use it if msdb.dbo.sysmail_profile contains profiles, the option Database Mail XPs is on, or code calls sp_send_dbmail.
- SQL Server on a VM: works as before.
- Azure SQL Database: not supported. Send from the application, or call an Azure Logic App or Azure Function (for example with
sp_invoke_external_rest_endpoint) that sends the mail through Azure Communication Services or SendGrid. - Azure SQL Managed Instance: supported, but
@file_attachmentscannot attach files, and SQL Server Agent can use only one profile, which must be calledAzureManagedInstance_dbmail_profile. - Amazon RDS for SQL Server: supported on Web, Standard and Enterprise Edition, not on Express. The configuration parameters cannot be changed, attachments are limited to 1 MB, and AWS blocks outbound port 25 by default.
- Babelfish and Cloud SQL: not supported. Send from the application, or through a function with Amazon SES or another mail service.
- PostgreSQL, MySQL, Oracle: PostgreSQL and MySQL have no built-in mail; Oracle has
UTL_SMTPandUTL_MAIL. A common pattern on every engine: the database writes a row to an outbox table and a small service sends the mail.
Linked servers and distributed queries
A linked server lets a query read from or write to another server, with four-part names (Server.Database.Schema.Table), OPENQUERY or EXEC ... AT. OPENROWSET and OPENDATASOURCE do the same without a predefined linked server. Applications use them for reports that combine data from several systems, for imports from Oracle, Excel or Access, and for synchronisation between servers.
You use them if sys.servers contains rows with is_linked = 1, or if the code contains four-part names, OPENQUERY or OPENROWSET.
- SQL Server on a VM: works, with ODBC and OLE DB providers for almost any source.
- Azure SQL Database: no linked servers. Elastic query (in preview) reads tables in other Azure SQL databases;
OPENROWSETonly reads files from Azure Blob Storage. - Azure SQL Managed Instance: linked servers only to SQL Server, Azure SQL Database, Managed Instance and Azure Synapse SQL; not to Oracle, other database engines or files.
- Amazon RDS for SQL Server: linked servers to other SQL Server instances, and to Oracle through the Oracle OLEDB option.
- Babelfish: linked servers to SQL Server, read-only: four-part names work for reading, but remote tables cannot be modified and remote procedures cannot be executed.
- Cloud SQL: linked servers work after you set the database flag
cloudsql enable linked servers;OPENROWSETis not available. - PostgreSQL, MySQL, Oracle: PostgreSQL has
postgres_fdwanddblinkfor other PostgreSQL databases, and further foreign data wrappers depending on the service; Oracle has database links, to other engines through Oracle Database Gateway; MySQL has no general equivalent. Often the better solution is to move the integration out of the database, into ETL or an API.
Cross-database queries and USE
On one SQL Server instance, a query can join tables from several databases with three-part names (OtherDb.dbo.Customers), and a script can switch database with USE. Many applications are spread over several databases on the same server that refer to each other this way, sometimes in views and procedures nobody looks at any more.
sys.sql_expression_dependencies shows references to other databases (column referenced_database_name), but not those in dynamic SQL; search the code as well.
- SQL Server on a VM, Managed Instance, Amazon RDS and Cloud SQL: works, as long as all the databases move to the same instance.
- Azure SQL Database: every database is isolated: no three-part names to other databases and no
USEto switch. The options are merging the databases into one with separate schemas, elastic query for read access, or Managed Instance. - Babelfish: in multiple-database mode, cross-database
SELECT,INSERT,UPDATE,DELETEand procedure calls work andUSEis supported; DDL across databases is not. - PostgreSQL, MySQL, Oracle: in MySQL a database is a schema and
db.tableworks within one server. In PostgreSQL databases are isolated: use schemas within one database, orpostgres_fdw. In Oracle the SQL Server databases usually become schemas in one database, with grants between them.
Distributed transactions (MSDTC)
With the Microsoft Distributed Transaction Coordinator, one transaction can span several servers, or a database and another resource such as a message queue: everything is committed or nothing is. In T-SQL you see BEGIN DISTRIBUTED TRANSACTION or writes through a linked server inside a transaction; in .NET a TransactionScope with connections to two servers is promoted to MSDTC automatically.
Distributed transactions are hard to see in the database structure, because they usually start in the application. Look for BEGIN DISTRIBUTED TRANSACTION, linked-server writes inside transactions and TransactionScope in the application code.
- SQL Server on a VM: works; MSDTC is part of Windows.
- Azure SQL Database: no MSDTC. Elastic transactions cover distributed transactions between Azure SQL databases, started from .NET applications.
- Azure SQL Managed Instance: distributed transactions between Managed Instances, from T-SQL and .NET, are generally available. DTC for Managed Instance, needed for other participants such as an on-premises SQL Server or XA, must be switched on and needs network access to the participants (ports 135 and 14000–15000); T-SQL distributed transactions with other database products are not supported.
- Amazon RDS for SQL Server: supported through the MSDTC option, in all editions.
- Babelfish and Cloud SQL: not supported.
- PostgreSQL, MySQL, Oracle: PostgreSQL has two-phase commit (
PREPARE TRANSACTION) and MySQL XA transactions, but you need your own coordinator; Oracle supports distributed transactions over database links and XA. In practice the usual answer is a redesign: one database per transaction, and an outbox table or a saga for the rest.
FILESTREAM and FileTable
FILESTREAM stores varbinary(max) data such as documents and images as files in the file system, while SQL Server keeps them transactionally consistent with the rows. FileTable builds on it: a table whose rows appear as files and folders on a Windows share, so users and programs can copy files into the database through Explorer.
You use them if sys.columns has columns with is_filestream = 1, if sys.tables has tables with is_filetable = 1, or if the database has a FILESTREAM filegroup.
- SQL Server on a VM: works as before.
- Azure SQL Database, Managed Instance, Amazon RDS, Babelfish and Cloud SQL: not supported. On Managed Instance a backup that contains FILESTREAM data cannot even be restored.
- Replacement: move the files to object storage (Azure Blob Storage, Amazon S3, Google Cloud Storage) and keep only the path or URL and the metadata in the table; small files can go into an ordinary
varbinary(max)column. A FileTable share becomes a file share such as Azure Files or Amazon FSx. The transactional link between file and row disappears, so the application has to deal with orphaned files and failed uploads. - PostgreSQL, MySQL, Oracle:
byteaor large objects in PostgreSQL,LONGBLOBin MySQL,BLOB(SecureFiles) in Oracle; for large volumes object storage is usually the better choice there too.
xp_cmdshell and OLE Automation
xp_cmdshell runs a command on the Windows server, and the OLE Automation procedures (sp_OACreate, sp_OAMethod) create and call COM objects. Code uses them to copy or delete files, run batch files, start bcp, list directories or call web services from T-SQL. Both give the database access to the operating system, and that is exactly what no managed service allows.
You use them if the options xp_cmdshell or Ole Automation Procedures are on in sys.configurations, or if the code calls xp_cmdshell or sp_OA procedures. An option that is on but unused is a security risk rather than a migration problem: switch it off.
- SQL Server on a VM: works as before, and remains a security risk.
- Azure SQL Database, Managed Instance, Amazon RDS, Babelfish and Cloud SQL: not supported. On Managed Instance the OLE Automation option exists but has no effect.
- Replacement: move the task out of the database, to a scheduled job or a small service: Azure Automation or Azure Functions, AWS Lambda or Systems Manager, Cloud Run jobs, or a script on an application server. For web service calls, Azure SQL Database, Managed Instance and SQL Server 2025 have
sp_invoke_external_rest_endpoint. - PostgreSQL, MySQL, Oracle: the same approach. PostgreSQL's
COPY ... TO PROGRAMonly works on your own server with superuser rights, not on managed services.
Windows authentication
Many SQL Server installations use Windows logins: Active Directory users and groups sign in without a password in the connection string (Integrated Security or Trusted_Connection), and permissions are granted to AD groups. Web applications and Windows services connect with their own domain account.
You use it if sys.server_principals contains logins of type U (Windows user) or G (Windows group) other than the built-in NT SERVICE and NT AUTHORITY accounts, and if connection strings contain Integrated Security or Trusted_Connection.
- SQL Server on a VM: works if the VM is joined to the domain.
- Azure SQL Database: no Windows logins. Use Microsoft Entra ID users and groups (synchronised from your Active Directory if you like) or SQL logins; connection strings change.
- Azure SQL Managed Instance:
CREATE LOGIN ... FROM WINDOWSis not supported; Microsoft Entra logins are. Windows Authentication for Microsoft Entra principals (Kerberos) lets domain-joined clients keep signing in without a password, for identities synchronised to Entra ID. - Amazon RDS for SQL Server: Windows authentication with AWS Managed Microsoft AD or your own self-managed Active Directory.
- Babelfish: Kerberos authentication with AWS Directory Service for Microsoft Active Directory, with logins created as
CREATE LOGIN ... FROM WINDOWS. - Cloud SQL: Windows authentication through Managed Service for Microsoft Active Directory.
- PostgreSQL, MySQL, Oracle: their own users, plus Kerberos (GSSAPI) or LDAP in PostgreSQL, authentication plugins for Kerberos and LDAP in MySQL Enterprise Edition, Kerberos and Active Directory integration in Oracle. Managed services add their own options, such as Entra ID for Azure Database for PostgreSQL and IAM authentication on AWS and Google Cloud. Windows groups do not map one-to-one onto database roles everywhere: plan the permissions again.
Other engine features in brief
These features are part of the SQL Server engine. They usually move along with the database to the SQL Server-based services, but not always, and other engines have their own version.
- Full-text search (
CONTAINS,FREETEXT): available on all SQL Server-based services, in Azure without third-party filters and word breakers. Babelfish supports a limited form: basicCONTAINS, English only, noFREETEXT. PostgreSQL usestsvectorwith GIN indexes, MySQLFULLTEXTindexes, Oracle Oracle Text. Results and ranking differ, so test with real searches. - Memory-optimized tables (In-Memory OLTP): in Azure SQL Database only in the Premium and Business Critical tiers, in Managed Instance only in Business Critical, available on Amazon RDS and Cloud SQL, not in Babelfish. Other engines have no equivalent; ordinary tables with good indexes are usually fast enough.
- Temporal tables (automatic history per row): supported in Azure SQL, Amazon RDS and Cloud SQL, not in Babelfish. MariaDB has system-versioned tables and Oracle has Flashback Data Archive; in PostgreSQL and MySQL you build the history with triggers or an extension.
- Columnstore indexes: in Azure SQL Database (from Standard S3 and in the vCore tiers), Managed Instance and Amazon RDS; Google lists real-time operational analytics as unsupported in Cloud SQL, so check there; Babelfish does not support them. PostgreSQL has no columnstore in its core, Oracle has the paid Database In-Memory option. For heavy analytics, a separate analytical store is often the better answer.
- Change tracking and change data capture (CDC): both on Managed Instance and Amazon RDS; in Azure SQL Database CDC needs Standard S3 or higher or a vCore tier; Cloud SQL supports CDC; Babelfish supports neither. Other engines read changes from their log: logical decoding in PostgreSQL, the binary log in MySQL, LogMiner or GoldenGate in Oracle, often with Debezium on top.
- Replication: Managed Instance supports transactional and snapshot replication, not merge or peer-to-peer; Azure SQL Database can only be a subscriber; AWS lists replication as unsupported on Amazon RDS; Cloud SQL can be publisher and subscriber; Babelfish has none. Other engines use their own replication or a tool such as AWS DMS or Debezium.
- Server-level triggers (logon and server DDL triggers): supported on Managed Instance; not on Azure SQL Database, Amazon RDS, Babelfish or Cloud SQL. Auditing or the cloud provider's security services usually take over the task.
- Stretch Database: discontinued since July 2024 in all supported versions and on all services. Move cold data to an archive table or a separate database, or export it to storage.
- PolyBase and external tables: Azure SQL Database and Managed Instance offer data virtualisation over files in Azure Blob Storage and Data Lake Storage (CSV, Parquet); Amazon RDS does not support PolyBase; Cloud SQL has a database flag to enable it; Babelfish does not support external tables. PostgreSQL uses foreign data wrappers, Oracle external tables.
T-SQL itself
On the SQL Server-based targets your procedures, functions, views and triggers keep working, apart from the features above. Babelfish understands a large part of T-SQL, but not all of it: EXECUTE AS, scrollable and updatable cursors and SQL graph, for example, are not supported. On PostgreSQL, MySQL and Oracle all code has to be rewritten: another procedural language, other error handling, other transaction behaviour, other data types and functions. Rewriting stored procedures is covered in a separate guide.
How to find out what you use
The query below is read-only and runs on SQL Server 2016 and later. Run it in each user database: the first rows count objects in that database, the rows marked (server) are the same for the whole instance. The parts that read msdb and the server-level views need an account with enough rights, such as a member of sysadmin.
-- Read-only. Run in each user database (SQL Server 2016 or later).
-- Rows marked (server) are the same for the whole instance.
SELECT 'CLR assemblies' AS feature, COUNT(*) AS found
FROM sys.assemblies WHERE is_user_defined = 1
UNION ALL
SELECT 'Service Broker queues', COUNT(*)
FROM sys.service_queues WHERE is_ms_shipped = 0
UNION ALL
SELECT 'FILESTREAM columns', COUNT(*)
FROM sys.columns AS c JOIN sys.tables AS t ON t.object_id = c.object_id
WHERE c.is_filestream = 1
UNION ALL
SELECT 'FileTables', COUNT(*) FROM sys.tables WHERE is_filetable = 1
UNION ALL
SELECT 'Full-text indexes', COUNT(*) FROM sys.fulltext_indexes
UNION ALL
SELECT 'Memory-optimized tables', COUNT(*) FROM sys.tables WHERE is_memory_optimized = 1
UNION ALL
SELECT 'Temporal tables', COUNT(*) FROM sys.tables WHERE temporal_type = 2
UNION ALL
SELECT 'Change tracking', COUNT(*)
FROM sys.change_tracking_databases WHERE database_id = DB_ID()
UNION ALL
SELECT 'Change data capture', COUNT(*)
FROM sys.databases WHERE database_id = DB_ID() AND is_cdc_enabled = 1
UNION ALL
SELECT 'References to other databases', COUNT(*)
FROM sys.sql_expression_dependencies
WHERE referenced_server_name IS NULL
AND referenced_database_name IS NOT NULL
AND referenced_database_name <> DB_NAME()
UNION ALL
SELECT 'References to linked servers', COUNT(*)
FROM sys.sql_expression_dependencies WHERE referenced_server_name IS NOT NULL
UNION ALL
SELECT 'Linked servers (server)', COUNT(*) FROM sys.servers WHERE is_linked = 1
UNION ALL
SELECT 'Windows logins and groups (server)', COUNT(*)
FROM sys.server_principals WHERE type IN ('U', 'G') AND name NOT LIKE 'NT %'
UNION ALL
SELECT 'SSISDB catalog (server)', COUNT(*) FROM sys.databases WHERE name = 'SSISDB'
UNION ALL
SELECT 'Report server databases (server)', COUNT(*)
FROM sys.databases WHERE name LIKE 'ReportServer%'
UNION ALL
SELECT 'Agent jobs (server)', COUNT(*) FROM msdb.dbo.sysjobs
UNION ALL
SELECT 'Database Mail profiles (server)', COUNT(*) FROM msdb.dbo.sysmail_profile
UNION ALL
SELECT 'Option on (server): ' + name, CAST(value_in_use AS int)
FROM sys.configurations
WHERE name IN ('clr enabled', 'xp_cmdshell', 'Ole Automation Procedures', 'Database Mail XPs');The query counts objects; it does not show where code uses them. Dynamic SQL, connection strings with Integrated Security, TransactionScope in the application and SSIS packages stored as files only show up when you also search the application code and the servers.
The free MigrateMyDatabase scan does this per database automatically. Its read-only script detects CLR assemblies, Service Broker, FILESTREAM, linked servers, xp_cmdshell, Database Mail, OLE Automation, MSDTC, cross-database references, USE, server triggers, the SSIS catalog, SSRS databases, Windows logins, memory-optimized tables, Stretch Database and Agent jobs. For each target you choose, the analysis states whether the feature is supported, limited or missing, and what usually replaces it. The analysis runs in your browser, nothing is uploaded, and the script reads no table data and no code text.
Questions
Which target supports the most SQL Server features?
SQL Server on a virtual machine: everything works as on your own server. Of the managed services, Azure SQL Managed Instance comes closest, with SQL Server Agent, Service Broker, CLR, Database Mail, linked servers to SQL Server and cross-database queries. Amazon RDS for SQL Server offers SSIS and SSRS as options, but has no CLR on its current versions.
Can I keep SSIS and SSRS when I move the databases to a managed service?
Yes, by running them somewhere else: SSIS in the Azure-SSIS Integration Runtime of Azure Data Factory or on a VM, SSRS or Power BI Report Server on a VM. Amazon RDS for SQL Server can run SSIS (up to SQL Server 2022) and SSRS on the instance itself, with restrictions.
Does Azure SQL Database support cross-database queries?
No. Each database is isolated: three-part names to other databases and USE do not work. Elastic query offers read access to other Azure SQL databases, in preview. If an application consists of several databases that refer to each other, Managed Instance or merging the databases into one is usually simpler.
What replaces Service Broker outside SQL Server?
A queue: Azure Service Bus, Amazon SQS, Google Pub/Sub or RabbitMQ, or a queue table that a worker reads with SELECT ... FOR UPDATE SKIP LOCKED. On Managed Instance, Service Broker keeps working within the instance and between Managed Instances; Amazon RDS and Cloud SQL support it within one instance.
Is CLR supported on Amazon RDS for SQL Server?
Not on the versions RDS offers today (SQL Server 2017 and later). RDS supported CLR only in SAFE mode on SQL Server 2016 and earlier. On Azure SQL Managed Instance CLR works, with assemblies loaded from binary. Elsewhere the logic moves to the application, a function or the database's own language.
Can I keep Windows logins in the cloud?
On a VM in your domain, yes. Amazon RDS for SQL Server, Babelfish and Cloud SQL support Windows authentication through a managed or connected Active Directory. Azure SQL Database and Managed Instance use Microsoft Entra ID instead; Managed Instance offers Kerberos authentication for Entra principals, so domain-joined clients can keep signing in without a password.
Read next
- SQL Server Agent jobs in a migration: what moves, what breaks and what replaces them
SQL Server Agent jobs live in msdb and never move with the database. What breaks on Azure SQL, RDS, Cloud SQL or PostgreSQL, and what replaces the jobs. - Stored procedures, functions and triggers: how to rewrite them for another database
What stored procedures, functions and triggers are, and how to rewrite T-SQL, PL/SQL or MySQL code for another engine: method, tools, mapping and examples. - Migrating SQL Server to Azure step by step: backup to URL, Log Replay Service, Managed Instance link, DMS and .bacpac
Move SQL Server to Azure SQL Managed Instance, Azure SQL Database or a VM: backup to URL, Log Replay Service, MI link, DMS, .bacpac and replication.
Find out which of these features your databases use: run the free read-only scan, paste the result and choose your target to see what is supported, limited or missing.
Start the free scan