I'm using the below code to call an executable file whenever a new row is inserted into the table. exec master..xp_cmdshell @CMD
The executable file is not getting called. How should i give access for the default sa user the rights to execute the file