sql server programming:
I am trying the following code in a trigger.
exec master.dbo.xp_cmdshell 'net send UserName "Test' + char(13) + 'Line2"'
However I can't get it to work.
I have tried.
^T
char(10)
char(13) + char(10)
leaving a line.
leaving a line with the / character
Leaving off the double quotes with all the above options.
Has anyone ever been able to get this to work and how?