﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Database Deployment Toolkit / Database Deployment Toolkit (How do I?)  / Weird column/tables when using a union query / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Thu, 21 Aug 2008 15:58:21 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Weird column/tables when using a union query</title><link>http://forum.strataframe.net/Topic6282-11-1.aspx</link><description>I am sure that it is fine.  The view is deployed through SMO and at times the columns can be rearranged under certain circumstances.  You should be fine.</description><pubDate>Fri, 26 Jan 2007 07:45:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Weird column/tables when using a union query</title><link>http://forum.strataframe.net/Topic6282-11-1.aspx</link><description>I just tried to create a view in the DDT based on a Union query.  The view looks something like this:&lt;br&gt;&lt;br&gt;Select Distinct&lt;br&gt;  us_pk&lt;br&gt; ,pm_id&lt;br&gt; ,pm_key&lt;br&gt; ,up_action&lt;br&gt;From SFSUserPermissionInfo&lt;br&gt;&lt;br&gt;Union&lt;br&gt;&lt;br&gt;Select Distinct&lt;br&gt;  us_pk&lt;br&gt; ,pm_id&lt;br&gt; ,pm_key&lt;br&gt; ,up_action&lt;br&gt;From SFSUserRolePermissionInfo&lt;br&gt;&lt;br&gt;When I save it, it reports the following as the columns:&lt;br&gt;&lt;br&gt;    Column                 Table&lt;br&gt;    -----------------   --------------------------------------&lt;br&gt;    pm_pk                  SFSPermissions&lt;br&gt;    pm_pk                  SFSPermissions&lt;br&gt;    pm_key                SFSPermissions&lt;br&gt;    pm_Key                SFSPermissions&lt;br&gt;    up_Action             SFSUsersXPermissions&lt;br&gt;    rp_Action             SFSUsersXRoles&lt;br&gt;    Distinct|   us_pk    SFSUserPermissionInfo|  || Union&lt;br&gt;    Distinct|   us_pk    SFSUserPermissionInfo|  || Union&lt;br&gt;&lt;br&gt;I deployed it and built a BO off of it and all seems to work, but the columns/tables are weird.  I'm assuming that there are no significant ramifications of this, but I'd like to be sure all is OK.</description><pubDate>Thu, 25 Jan 2007 19:44:48 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>