Link to home
Start Free TrialLog in
Avatar of motioneye
motioneyeFlag for Singapore

asked on

sql2012 - To execute an osql command

Guys,
Not sure if the sql agent job will allow if I put the following  to execute osql command in  Operating System Command (CmdExec) Will the below work ??

osql -E -q "declare @rc int
EXEC @rc = osql -E -q usr_sp_reviewamounts"
ASKER CERTIFIED SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial