<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Custom report - problem with select command (Thread)</title><description>&#xD;
hi,   I try to prepare my custom report. I create query:   select R.TEST_CASE_ID, R.NAME, R.AUTHOR_NAME, R. DESCRIPTION, T.TEST_STEP_ID, T.DESCRIPTION, I.INCIDENT_NAME, I.CREATION_DATE, I.CLOSED_DATE, I.LAST_UPDATE_DATE from SpiraTestEntities.R_TestCases as R inner join SpiraTestEntities.R_TestSteps as T on R.TEST_CASE_ID = T.TEST_CASE_ID inner join SpiraTestEntities.R_Incidents as I on T.TEST_STEP_ID = I.TEST_RUN_STEP_ID where R.PROJECT_ID = ${ProjectId}   As a result I achieved system warning: "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name."   I change my query to form:   select &#xD;
R.TEST_CASE_ID, R.NAME, R.AUTHOR_NAME, T.TEST_STEP_ID, &#xD;
T.DESCRIPTION, I.INCIDENT_NAME, I.CREATION_DATE, I.CLOSED_DATE, &#xD;
I.LAST_UPDATE_DATE from SpiraTestEntities.R_TestCases as R inner join SpiraTestEntities.R_TestSteps as T on R.TEST_CASE_ID = T.TEST_CASE_ID inner join SpiraTestEntities.R_Incidents as I on T.TEST_STEP_ID = I.TEST_RUN_STEP_ID where R.PROJECT_ID = ${ProjectId}   and then the proper result is generated.   System warning "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name." appears always when I want to display two columns with the same name (even if they refer to different tables -&gt;  R. DESCRIPTION and T.DESCRIPTION )  How can I resolve my problem?   </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/1015.aspx</link><item><guid isPermaLink="false">threadId=1015</guid><author>Kasia G. (kasia5002@gmail.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">reporting</category><title>Custom report - problem with select command</title><description>&#xD;
hi,   I try to prepare my custom report. I create query:   select R.TEST_CASE_ID, R.NAME, R.AUTHOR_NAME, R. DESCRIPTION, T.TEST_STEP_ID, T.DESCRIPTION, I.INCIDENT_NAME, I.CREATION_DATE, I.CLOSED_DATE, I.LAST_UPDATE_DATE from SpiraTestEntities.R_TestCases as R inner join SpiraTestEntities.R_TestSteps as T on R.TEST_CASE_ID = T.TEST_CASE_ID inner join SpiraTestEntities.R_Incidents as I on T.TEST_STEP_ID = I.TEST_RUN_STEP_ID where R.PROJECT_ID = ${ProjectId}   As a result I achieved system warning: "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name."   I change my query to form:   select &#xD;
R.TEST_CASE_ID, R.NAME, R.AUTHOR_NAME, T.TEST_STEP_ID, &#xD;
T.DESCRIPTION, I.INCIDENT_NAME, I.CREATION_DATE, I.CLOSED_DATE, &#xD;
I.LAST_UPDATE_DATE from SpiraTestEntities.R_TestCases as R inner join SpiraTestEntities.R_TestSteps as T on R.TEST_CASE_ID = T.TEST_CASE_ID inner join SpiraTestEntities.R_Incidents as I on T.TEST_STEP_ID = I.TEST_RUN_STEP_ID where R.PROJECT_ID = ${ProjectId}   and then the proper result is generated.   System warning "System.Xml.XmlException: The '#' character, hexadecimal value 0x23, cannot be included in a name." appears always when I want to display two columns with the same name (even if they refer to different tables -&gt;  R. DESCRIPTION and T.DESCRIPTION )  How can I resolve my problem?   </description><pubDate>Thu, 25 Sep 2014 09:55:48 -0400</pubDate><a10:updated>2014-09-25T15:16:14-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1015.aspx</link></item><item><guid isPermaLink="false">messageId=1851</guid><author>taha massalha (taha@annapurnalabs.com)</author><title>&#xD;
Hi&#xD;
&#xD;
    Try to use alias with those columns:  use T.DESCRIPTION AS TEST_STEP_ DESCRIPTION and R </title><description>&#xD;
Hi&#xD;
&#xD;
    Try to use alias with those columns:  use T.DESCRIPTION AS TEST_STEP_ DESCRIPTION and R  .DESCRIPTION AS TEST_CASE_  DESCRIPTION         BR,    Taha Massalha  </description><pubDate>Thu, 25 Sep 2014 15:16:14 -0400</pubDate><a10:updated>2014-09-25T15:16:14-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1015.aspx#reply1851</link></item></channel></rss>