Hi all,
I am trying to execute nqcmd utility through SSMS but it is not working. If I run it at command line, it is successful but unable to run it through SSMS.
The script that I am using is similar to the below code.
SET @sCmd = 'nqcmd -d "Server_Name" -u UserName -p Password -s "Test.sql" -o "Test1.dat"' PRINT 'STEP: ' + @sCmd EXEC @nResult = master..xp_cmdshell @sCmd