Hi, I have created a test package to load data into 2 tables. so created two simple insert scripts and created a batch file and calling batch file in execute process task. but i am getting error :
Error: 0xC0029151 at Execute Process Task, Execute Process Task: In Executing "C:\sql.bat" "" at "", The process exit code was "1" while the expected was "0".
and if i check in dos prompt, i am getting error Login Failed.
Can somebody tell me how to call a batch file in ssis?
the script i have used in batch file is
SQLCMD -E -dHRMS_SITE -iC:\aTest1.sql
SQLCMD -E -dHRMS_SITE -iC:\aTest2.sql