I am trying to pass large html from ms sql to exe file by:
EXEC master..xp_CMDShell 'c:\path\index.exe' --body="<div style="font-family: Lato;""
This html can be very large more than 8k characters which I understand is the limit (win server 2008).
That is first problem and second is that when I try to pass html as argument from sql it always strip quotations.
Any suggestion how can I without problem pass any html to exe via sql command?