How to call aspnet_regsql.exefrom SQL script? thank
aspnet_regsql.exe
You can take a look at xp_cmdshell :
xp_cmdshell 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe'
xp_cmdshell allows you to call exe files from SQL Server
xp_cmdshell
EXEC master.dbo.xp_cmdshell 'C:\PrintToPDFConsole.exe'
Read more: xp_cmdshell