<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: union and column data types in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/union-and-column-data-types/qaa-p/13841417#M4872260</link>
    <description>&lt;P&gt;Try NULL instead of ''.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2011 15:36:14 GMT</pubDate>
    <dc:creator>johnsmirnios</dc:creator>
    <dc:date>2011-06-01T15:36:14Z</dc:date>
    <item>
      <title>union and column data types</title>
      <link>https://community.sap.com/t5/technology-q-a/union-and-column-data-types/qaq-p/13841416</link>
      <description>&lt;P&gt;When using UNION I receive "Cannot convert '' to a timestamp" when I try to run something like this: &lt;/P&gt;
&lt;P&gt;select [field1], [field2]
from [table]&lt;/P&gt;
&lt;P&gt;union&lt;/P&gt;
&lt;P&gt;select [field1], ''
from [second table];&lt;/P&gt;
&lt;P&gt;Field1 is the same in both tables.  In the first select statement field2 data type is timestamp but I don't want field2 pulled from the second select statement.  Is there a way to cast or format field2 in the second statement to run in this instance?&lt;BR /&gt;
&lt;/P&gt;
&lt;P&gt;Appreciate any assistance. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 15:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/union-and-column-data-types/qaq-p/13841416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-01T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: union and column data types</title>
      <link>https://community.sap.com/t5/technology-q-a/union-and-column-data-types/qaa-p/13841417#M4872260</link>
      <description>&lt;P&gt;Try NULL instead of ''.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 15:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/union-and-column-data-types/qaa-p/13841417#M4872260</guid>
      <dc:creator>johnsmirnios</dc:creator>
      <dc:date>2011-06-01T15:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: union and column data types</title>
      <link>https://community.sap.com/t5/technology-q-a/union-and-column-data-types/qaa-p/13841418#M4872261</link>
      <description>&lt;P&gt;Great.  That did the trick.  Much appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 16:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/union-and-column-data-types/qaa-p/13841418#M4872261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-01T16:17:32Z</dc:date>
    </item>
  </channel>
</rss>

