Home Forums SQL Server 2005 Administering xp_cmdshell execute scripts that are on c: RE: xp_cmdshell execute scripts that are on c:
Ronzo
Hall of Fame
Points: 3917
More actions
July 28, 2010 at 12:48 pm
#1199461
Not sure about catching errors, but as far as running it under SQL 2005 (and 2008), you can substitute "sqlcmd" for "osql". Of course "osql" still works for now (it is deprecated), it is "isql" that was removed.