explore & experience the MSSQL
Home » Posts tagged 'xp_cmdshell'
July 26, 2012 10:09 am / 1 Comment on 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.
Create a free website or blog at WordPress.com.