|
|
|
tab separated output from xp_sendmail - how?
|
|||
|---|---|---|---|
|
#18+
The users want a tab separated output from the xp_sendmail, but the Код: plaintext Pigtail: Stick what you have to say in your ass. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2002, 20:28:20 |
|
||
|
tab separated output from xp_sendmail - how?
|
|||
|---|---|---|---|
|
#18+
Well, I must have paniced too early. This works: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2002, 20:39:20 |
|
||
|
tab separated output from xp_sendmail - how?
|
|||
|---|---|---|---|
|
#18+
>Pigtail: Stick what you have to say in your ass. Я согласен. Признаю себя проигравшим негодяем и прошу у тебя прощения. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2002, 20:55:27 |
|
||
|
tab separated output from xp_sendmail - how?
|
|||
|---|---|---|---|
|
#18+
It's not a problem of xp_sendmail. It's general restriction for input parameters for every procedure BOL - Accessing and Changing Relational Data - Accessing and Changing Data Fundamentals - Using Multiple Statements - Using Variables and Parameters - Parameters "When a stored procedure is executed, input parameters can either have their value set to a constant or use the value of a variable. " ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2002, 21:12:37 |
|
||
|
tab separated output from xp_sendmail - how?
|
|||
|---|---|---|---|
|
#18+
I think you need variable as Unicode .this script working correct - I test it now DECLARE @sep nchar(10) -- as UNICODE SET @sep=CHAR(9) EXEC master..xp_sendmail @recipients = 'max_siz@radian.ru', @message = ' test message', @query = 'SELECT * FROM sysobjects', @attachments = 'outTest', @subject = 'etst', @attach_results = 'true', @no_header = 'true', @width = 300, @ansi_attachment='true', @separator =@sep ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.08.2002, 09:19:59 |
|
||
|
|

start [/forum/topic.php?fid=46&msg=32042005&tid=1821267]: |
0ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
47ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 239ms |
| total: | 360ms |

| 0 / 0 |
