xp_cmdshell executed BCP statement error

2014-09-13

Here is the error:
Msg 214, Level 16, State 201, Procedure xp_cmdshell, Line 1
Procedure expects parameter 'command_string' of type 'varchar'.
WHY?
Because xp_cmdshell CANNOT use varchar(max) with xp_cmdshell
Newer Older