sql - Crystal Report Truncate XML String? -


i using crystal report connecting sql server database. , have database field has xml data on it. if browse data field in crystal report, can see lenght of field 255 characters. stored procedure has column of field looks :

 alter procedure [dbo].[getdata]                  (                      @id int                  )                                 begin                                    select  p.id,                             ,p.name                             ,dbo.getattributesasxml  (scalre-valued-function) field want change it's lenght                         batch p                  end 

here scalre-valued-function :

   alter function [dbo].[getattributesasxml]                  (                     @productid int                 )                 returns xml                 begin                      declare @result xml;                     select @result = (select *                                              (select at.id id                                                     ,val.id valueid                                                     ,coalesce(att.name,at.name) name                                                     ,coalesce(valt.value,val.value) value                                                attributes @                                                     left outer join attributesvalues val on val.attributeid = at.id , val.productid = @productid                                         ) t                                         order gorder, gname, t.[order]                                     xml auto, elements, root('root')                                 )                       return @result;                 end 

does 1 know if can change length of column max? seems have field type memo in access. in crystal report if field type string takes 255 char & ignore if length more that. 1 can resolving issue?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -