I have a stored procedure which is used by an SSRS report.
But I need to run this before I run the query:
sys.xp_cmdshell @sqlCmd;
The problem is that running this first returns the OUTPUT cell. This throws off the report because it's expecting a proper query and not just "OUTPUT"
How do I go about omitting this OUTPUT SELECT? I tried to add "NO_OUTPUT" but it still does not work:
SET @sqlCmd = '"C:\Program Files (x86)\ImageConverter\ImageConverter.exe", NO_OUTPUT';