Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Alias in the data

$
0
0

Hi,

One of the columns in the report shows unwanted <Expr1> in the data.

It is getting appended at the start and end of the column data. I don't want any alias to that column but ssrs is always appending it no matter what. How do I get rid of it?

Here is my query which is getting alias <Expr1>: (Bold and underlined)

   REPLACE(CONVERT(varchar(MAX),
                             (SELECT        notetext + CHAR(10) + CHAR(9)+ CONVERT(varchar, createdon, 20) + '     ' + createdbyname + 'X1X$X' AS<Expr1>
                               FROM FilteredAnnotation
                               WHERE        (objectid = CRMAF_FilteredIncident.incidentid) FOR XML PATH(''))), 'X1X$X', CHAR(10)) AS notetext

Please help.        Thanks. 








Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>