wanderingaround
MIS
Hello...
I have an SSIS package that runs on a 64bit 2008 SQL Server, works fine.
The bottom line is: I'd like a user to be able to kick off the package from their 32bit workstation. They don't have SQL Server or Management Studio installed.
I thought I was nearly there when I set up a Job to run the package and then set up a .bat file to run the Job as below
---------------------
echo Starting Job
echo.
"\\servername\c$\Program Files\Microsoft SQL Server\100\Tools\Binn\osql.exe" -S "servername" -E -Q"exec msdb.dbo.sp_start_job ' battest ' "
echo Job Done
pause
CLS
exit
----------------------
But I got an error message saying that OSQL.EXE is not a valid WIN32 application...
Am I going abour this the right way???
Cheers, Mike
I have an SSIS package that runs on a 64bit 2008 SQL Server, works fine.
The bottom line is: I'd like a user to be able to kick off the package from their 32bit workstation. They don't have SQL Server or Management Studio installed.
I thought I was nearly there when I set up a Job to run the package and then set up a .bat file to run the Job as below
---------------------
echo Starting Job
echo.
"\\servername\c$\Program Files\Microsoft SQL Server\100\Tools\Binn\osql.exe" -S "servername" -E -Q"exec msdb.dbo.sp_start_job ' battest ' "
echo Job Done
pause
CLS
exit
----------------------
But I got an error message saying that OSQL.EXE is not a valid WIN32 application...
Am I going abour this the right way???
Cheers, Mike