Reputation: 73938
how to call aspnet_regsql.exe
from an SQL script?
thanks
Upvotes: 5
Views: 641
Reputation: 1039120
You may take a look at xp_cmdshell:
xp_cmdshell 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe'
Upvotes: 2
Reputation: 176936
xp_cmdshell
alows you to call exe files form sql server
EXEC master.dbo.xp_cmdshell 'C:\PrintToPDFConsole.exe'
Read more : xp_cmdshell
Upvotes: 2