אני מנסה להגדיר משלוח מייל לפי תוכן קובץ ASCII, כפי שמוגדר ב-SDK:
You can also create a warning message (WRNMSG), error message (ERRMSG) or send mail message (MAILMSG) that displays the content of an ASCII file. Within the trigger in question, define a variable of FILE type called MESSAGEFILE and specify msg_number = 1000000. This message number should not appear in the Error & Warning Messages form.
אני מנסה דרך WINDBI, אבל הדואר לא נשלח…
אשמח לעזרה,
תודה,
איליה
:MESSAGEFILE = 'C:\tmp\aaa.txt';
SELECT 'DDDFFF' FROM DUMMY
ASCII ADDTO :MESSAGEFILE;
MAILMSG 1000000 TO USER 1 DATA :MESSAGEFILE;