Search code examples
delphismo

SMO library on Delphi


I'm using SQL Server 2017. Is there any way to use the SMO library in Delphi (FMX)?

The official documentation shows how to use this library from Visual Studio: https://learn.microsoft.com/es-es/sql/relational-databases/server-management-objects-smo/installing-smo?view=sql-server-2017#smo-nuget-package , which I have actually done.

10x


Solution

  • You would need to create a dll (or a COM server dll/exe) in Visual Studio exposing the required features of SMO and use this dll (or COM server) from Delphi.