Home » CodeProject » Procedure xp_cmdshell expects parameter ‘command_string’ of type ‘varchar’.

Procedure xp_cmdshell expects parameter ‘command_string’ of type ‘varchar’.

You can’t use varchar(max) with xp_cmdshell. Try a finite number (0 to 8000). varchar(max) is having capacity of 2GB & works as TEXT data type in background.


1 Comment

  1. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is excellent, as well as the content!

Leave a Reply

Join us on Facebook

microsoftcommunitycontributor
%d bloggers like this: