I'm using SQL Server as a service on a MS Azure VM and I would like to use xp_cmdshell
in a stored procedure but I get the below error/information message:
The module 'ProcExportFacturaEDI_Manual2' depends on the missing object 'xp_cmdshell'. The module will still be created; however, it cannot run successfully until the object exists.
I read online and find out that in MS Azure is not working. Does anyone know what's the equivalent of it or how can I use it in Azure?
EDIT
I did install it, but I get the below message and the file that should be exported, is not there:
(1 row(s) affected) Msg 2812, Level 16, State 62, Line 119 Could not find stored procedure 'xp_cmdshell'.