Required sample script to run sql commands through pre/post processing commands. I tried by using sqlcmd but I'm getting this -
I CMN_1949 Error: [Pre/Post Session Command] Process id 5540. The shell command failed with exit code 1.
Required sample script to run sql commands through pre/post processing commands. I tried by using sqlcmd but I'm getting this -
I CMN_1949 Error: [Pre/Post Session Command] Process id 5540. The shell command failed with exit code 1.
Use
Pre SQL
andPost SQL
properties of your Target defined in the session'sMapping
tab. There you can use pure SQL statements directly, there's no need for any shell scripting at all.