Home Forums SQL Server 2005 T-SQL (SS2K5) xp_cmdshell - Procedure expects parameter 'command_string' of type 'varchar' RE: xp_cmdshell - Procedure expects parameter 'command_string' of type 'varchar'
Nesuke
SSC Enthusiast
Points: 196
More actions
September 10, 2012 at 4:33 am
#1535601
I experienced this error, I now make sure I make nvarchar types with 4000 rather than using the max function.
Also just a note on BCP. Ensure it's always on one line, else it won't work, won't even print, very annoying!