Sadly, you wont find this in the online help. It was added as part of a Service Pack.
Use this parameter to trim excess spaces from the query results attached to the email. Otherwise, the column output pads out to the length of the char OR varchar field.
For example:
declare @t TABLE (field varchar(10))
insert into @t
select 'hello'
When sent with @query_result_no_padding = 1
the result is:
field
-----
hello
otherwise
field
----------
hello
No comments:
Post a Comment