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.

Advertisements

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: