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 SQLandPost SQLproperties of your Target defined in the session'sMappingtab. There you can use pure SQL statements directly, there's no need for any shell scripting at all.