View with renamed column does not use index

Is there any reason why a view that renames the columns presented to the users would ignore an index?
For example:
CREATE OR REPLACE VIEW ENROLLMENT
(ENROLLMENT_ID, ENROLLMENT_DATE, FIRST_NAME)
AS
select distinct
a.col1 as enrollment_id,
a.col2 as enrollment_date,
a.col3 as first_name
from t1 a
When a user queries the view, with a WHERE FIRST_NAME = 'TOM", it results in a FTS. However, if you run the query against the base table (using col1, col2, and col3), it uses the index against t1 on (col3, col2, col1).

Well, I tried to create the supporting evidence afterwards (sigh, why do I keep doing that ...), it seems that Oracle has addressed this problem already:
SQL> create table t1
  2  as
  3  select l col1, sysdate - l/86400 col2, decode(l,1,'TOM',to_char(l)) col3
  4    from (select level l from dual connect by level <= 100000)
  5  /
Tabel is aangemaakt.
SQL> create index i1 on t1 (col3, col2, col1)
  2  /
Index is aangemaakt.
SQL> exec dbms_stats.gather_table_stats(user,'T1',method_opt=>'FOR ALL INDEXED COLUMNS')
PL/SQL-procedure is geslaagd.
SQL> create view enrollment
  2  (enrollment_id, enrollment_date, first_name)
  3  as
  4  select distinct
  5  a.col1 as enrollment_id,
  6  a.col2 as enrollment_date,
  7  a.col3 as first_name
  8  from t1 a
  9  /
View is aangemaakt.
SQL> set autotrace on explain
SQL> select * from enrollment where first_name = 'TOM'
  2  /
                         ENROLLMENT_ID ENROLLMENT_DATE     FIRST_NAME
                                     1 16-01-2007 14:41:25 TOM
1 rij is geselecteerd.
Uitvoeringspan
   0      SELECT STATEMENT Optimizer=CHOOSE (Cost=3 Card=1 Bytes=44)
   1    0   VIEW OF 'ENROLLMENT' (Cost=3 Card=1 Bytes=44)
   2    1     SORT (UNIQUE NOSORT) (Cost=3 Card=1 Bytes=18)
   3    2       INDEX (RANGE SCAN) OF 'I1' (NON-UNIQUE) (Cost=3 Card=1
           Bytes=18)I'm on 9.2.0.7.0 here, what's your version ?
Regards,
Rob.

Similar Messages

  • Can I share photostream with someone who does not use Apple devices?

    If I share a photostream with someone who does not use Apple products, will they be able to view the Photostream?

    Shared photoStreams are also available on a PC
    How do friends and family view my photos?
    Friends and family with iCloud accounts can view your photos in the Photos app on any device using iOS 6 or later; on a Mac in iPhoto 9.4 or Aperture 3.4 or later; on a Windows PC with Windows Vista or later and iCloud Control Panel 2.0 or later installed; or on a second generation or later Apple TV with software version 5.1 or later installed. They can also view your photos on the web if you enable Public Website in the settings or options for your Shared Photo Stream. Learn more about inviting people to view your shared photo streams.
    Set up instructions for the PC are in my previous link
    LN

  • Query does not use index

    Hi,
    We have a production environment that uses oracle 10GR2.
    We have two schemas A and B
    A has two tables test1 and test2.
    test1 has three columns id, name, add and has an index IDX on id1. This table has close to 500 million rows.
    test2 has an column id. this is generally a small table holding 50k rows.
    B has the same set of tables and indexes.
    Now the question here is:
    When I run a join query as
    select
    t1.id
    from
    test1 t1, test t2
    where t1.id = t2.id
    on schema A, the explain plan uses the index IDX
    However when I run the same on schema B, the explain plan does not make use of the index.
    Any Thoughts?
    Karthik

    Here is the execution plans:
    Schema A:     
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| TQ |IN-OUT| PQ Distrib |
    | 0 | SELECT STATEMENT | | 571 | 7423 | 37 (0)| | | |
    | 1 | PX COORDINATOR | | | | | | | |
    | 2 | PX SEND QC (RANDOM) | :TQ10000 | 571 | 7423 | 37 (0)| Q1,00 | P->S | QC (RAND) |
    | 3 | NESTED LOOPS | | 571 | 7423 | 37 (0)| Q1,00 | PCWP | |
    | 4 | PX BLOCK ITERATOR | | | | | Q1,00 | PCWC | |
    | 5 | TABLE ACCESS FULL| TEST2               | 153 | 918 | 6 (0)| Q1,00 | PCWP | |
    |* 6 | INDEX RANGE SCAN | IDX                    | 4 | 28 | 0 (0)| Q1,00 | PCWP | |
    Predicate Information (identified by operation id):
    access("TEST1"."ID"="TEST2"."ID")
    Schema B:
    Plan hash value: 2574051690
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | TQ |IN-OUT| PQ Distrib |
    | 0 | SELECT STATEMENT | | 3108K| 38M| 5581 (3)| 00:01:07 | | | |
    | 1 | PX COORDINATOR | | | | | | | | |
    | 2 | PX SEND QC (RANDOM) | :TQ10001 | 3108K| 38M| 5581 (3)| 00:01:07 | Q1,01 | P->S | QC (RAND) |
    |* 3 | HASH JOIN | | 3108K| 38M| 5581 (3)| 00:01:07 | Q1,01 | PCWP | |
    | 4 | PX RECEIVE | | 196K| 1149K| 50 (4)| 00:00:01 | Q1,01 | PCWP | |
    | 5 | PX SEND BROADCAST | :TQ10000 | 196K| 1149K| 50 (4)| 00:00:01 | Q1,00 | P->P | BROADCAST |
    | 6 | PX BLOCK ITERATOR | | 196K| 1149K| 50 (4)| 00:00:01 | Q1,00 | PCWC | |
    | 7 | TABLE ACCESS FULL | TEST2          | 196K| 1149K| 50 (4)| 00:00:01 | Q1,00 | PCWP | |
    | 8 | PX BLOCK ITERATOR | | 121M| 809M| 5472 (2)| 00:01:06 | Q1,01 | PCWC | |
    | 9 | INDEX FAST FULL SCAN| IDX               | 121M| 809M| 5472 (2)| 00:01:06 | Q1,01 | PCWP | |
    Predicate Information (identified by operation id):
    access("TEST1"."ID"="TEST2"."ID")

  • Why are people still using a browser that wants to censor any views with which it does not agree?

    Mozilla drives out its CEO because he contributed $1000 to support a particular law in 2008 . Then it claims it values diversity. We all know that censors like Mozilla have NO place on the Internet --so PLEASE BOYCOTT MOZILLA --please fight for what little freedom we still have to hold differing views.

    Hi FirstAmendment,
    Thank you for contacting Mozilla about this issue and taking the time to share your thoughts.
    The decision to step down was made by Brendan. Since the moment Brendan was appointed, free and open discussion has come from a diverse spectrum of viewpoints. Mozilla is an organization that believes in openness and that no one should be persecuted for the beliefs they hold, no matter what those beliefs are. We believe in unconditional freedom and openness. That's why we support rights for everyone.
    As this is the Firefox support forum I can only help with questions related to the specific product. If you need more info about Mozilla's CEO you can check the resources below:
    Mozilla Blog: https://blog.mozilla.org/ <br>
    Brendan Eich's Blog: https://brendaneich.com/
    If you have any issues with Firefox, please post a question at [/questions/new] and someone will assist you.

  • Filter view with session variable does not display value properly.

    Hi All,
    I have a very unique issue and I am not sure if anyone ran into this before.
    I have a prompt in my dashboard and a link to a report. The session variable default the value to the current value (term)
    when I click the link to the report I get the following value, on the filter view of the report: Term Code Desc is equal to NQ_SESSION.CSA_Analysis_Term
    however if I click the go button in the prompt I get the value: Term Code Desc is equal to 2030 (2011 Spring)
    does anyone have a solution to this issue
    thanks

    Hello,
    Have the same issue. Any solution. Gurus plz help.
    thanks,
    deep

  • SSDT - Using a SharePoint list data feed as source - "column does not exist in the rowset" error

    Hey guys!
    So, I want to use a SharePoint list data to create a cube/tabular model, in order to make a complex analysis in PPS using MDX.
    To create the tabular model, I'm using the SS Data Tools, and importing a feed from the respective SharePoint list (using the _vti_bin/listdata.svcextension and then selecting the list(s) I wanna to import).
    Everything looks fine and smooth, I can select and preview the data in the table import wizard, but in the end, when importing, I always get this error IF the table has one or more row of data (if the table is empty, it's ok...) - the <...>
    column doesn't exist in the rowset.
    (Curiously, when I have the same procedure in PowerPivot for Excel, I have no problems, everything works fine. The problem is that then I get again errors if I try to create a tabular model on SSDT importing a PowerPivot file).
    Here's the error:
    Had you already tried this in SSDT? Are you experiencing the same trouble?
    Best regards, and thanks in advance!
    Jorge Mateus
    Jorge Mateus

    I noticed something else too.
    I can't process Tabular Models on both SSDT and SSMS (2012), but I can process Tabular Models created on PowerPivot.
    I tried to create a Data Feed connection on PowerPivot, and it was successfully created. However, if restoring the PowerPivot Tabular DB on my SSAS Tabular instance and processing (full) the model through SSMS, it won't work.
    Is there anything different on PowerPivot and SSDT related with Partitioning or connections to the data sources?
    Regards,
    Jorge
    Jorge Mateus
    Update:
    When trying to Restore a PowerPivot file on my SSAS Tabular Server and full process the model:
    The operation failed because the source does not contain the requested column. You can fix this problem by updating the column mappings.
    More Details:
    The 'X' column does not exist in the rowset.
    An error occurred while processing the partition 'X_81dabac5-c250-4a8c-8832-ad7fcedd35cb' in table 'X_81dabac5-c250-4a8c-8832-ad7fcedd35cb'.
    The current operation was cancelled because another operation in the transaction failed.
    X is the first column of the source table, no matter if I chose others on the PowerPivot table.
    When trying to import data from a data feed using SSDT:
    The 'X' column does not exist in the rowset.
    An error occurred while processing the partition 'X_ee6be81f-2235-4113-b404-cfcb20647a38' in table 'X_ee6be81f-2235-4113-b404-cfcb20647a38'.
    The current operation was cancelled because another operation in the transaction failed.
    X is the first chosen column to import.

  • BCS New Item creation - Column with Name 'ID' does not exist.

    Hello All
    I´m creating a BCS and i´m getting a strange error. I have created all the operations and created a list based on the external contente type. In my table the column ID is the primary key with identity.
    When I use the new item form I get the following error. But the new item is created.
    [ArgumentException: Column with Name 'ID' does not exist.]
       Microsoft.SharePoint.BusinessData.Infrastructure.GenericAdapterObject.get_Item(String key) +19563585
       Microsoft.SharePoint.BusinessData.Infrastructure.RuleInterpretingTypeReflector.Get(ITypeDescriptor typeDescriptor, ITypeDescriptor instanceRootTypeDescriptor, Object instance) +59
       Microsoft.SharePoint.BusinessData.Infrastructure.CompositeIdentifier.GetIdentity() +668
       Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.Create(IEntity thisEntity, IFieldValueDictionary fieldValues, Identity identity, AssociationEntityInstancesDictionary associationInfo, ILobSystemInstance lobSystemInstance) +2386
       Microsoft.SharePoint.BusinessData.MetadataModel.Static.Entity.Create(IFieldValueDictionary fieldValues, ILobSystemInstance lsi) +82
       Microsoft.SharePoint.SPListDataSource.InsertItem(SPListItem itemToInsert, IDictionary dictValues) +1671
    [SPException: Failed to create a list item for this external list based on the Entity (External Content Type) '...' in EntityNamespace '....'. Details: Column with Name 'ID' does not exist.]
       Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) +23989128
       System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +4064980
       Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() +378
       Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e) +24
       Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e) +691
       System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
    Thanks for the help,
    Regards,
    André

    Hello All,
    I already found the problem and it was an error in a trigger in the database.
    Thanks.
    Regards,
    André

  • Set a colour to a row in a table view which does not use an iterator

    Hi ,
      I have an application , which displays data using a table view.
    How can i set colour to a row based on the value of one of its coloums.
    The table view does not use an itertator.
    Thanks
    Arun

    you can use the following code in the ONMANIPULATION event to modify the color of the row. but be aware that if SAP changes rendering ot htmlb:tableview it may not work.
    this code sample set the bgcolor of row 2 to blue.
    DATA: httpbody TYPE string .
    CALL METHOD response->if_http_entity~get_cdata
      RECEIVING
        data = httpbody.
    REPLACE ALL OCCURRENCES OF '<tr rr="2"' IN httpbody WITH '<tr rr="2" bgcolor="blue"' IGNORING CASE .
    CALL METHOD response->if_http_entity~set_cdata
      EXPORTING
        data = httpbody.
    Regards
    Raja

  • SharePoint List Form using InfoPath 2010 "Cannot insert the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls"

    I am experiencing issue with my SharePoint site , when I am trying to add new Item in List . Error given below :--> 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 SharePoint Server Logging Correlation Data 9gc5 Verbose Thread change; resetting trace
    level override to 0; resetting correlation to e2e9cddc-cf35-4bf8-b4f3-021dc91642da c66c2c17-faaf-4ff9-a414-303aa4b4726b e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 Document Management Server Document Management 52od
    Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/sites/00003/Lists/PM%20Project%20Status/NewForm.aspx?RootFolder=&IsDlg=1]. Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3)
    level for this list. e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.17 w3wp.exe (0x1B94) 0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Starting correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.17 w3wp.exe (0x1B94)
    0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Ending correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.31 w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Cannot insert
    the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
    stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavi... e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015
    08:23:36.31* w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High ...or runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream,
    Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
    RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
    command, CommandBehavior behavior,

    Are you trying to setup P2P? Could you explain the process you followed completely? By anychance you create the backup and then created the publication?
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • If email receiver does not use thurderbird(with enigmail), can my email be traced back or spied by third party? is it meaningless if just me as a sender use thu

    if email receiver does not use thurderbird(with enigmail), can my email be traced back or spied by third party? is it meaningless if just me as a sender use thurderbird with enigmail enabled?

    Looks like the link you originally clicked was a scam to get you to submit your username and password.  I reckon the email from Google was legit (because it did not ask you to enter your username and password, but advised you to change your password.)  So it looks like they did actually block a sign-in attempt.  Sometimes, scammers do send out emails like this, but they are the ones which ask you to sign in again (because it's those details they are after).
    Given that you've changed your password three times you should be safe.  The golden rule is never submit usernames and passwords when prompted from an email - it's almost certainly a phishing attempt designed to get hold of your details.

  • Apple iPAD 2.  Needs password to unlock iPAD; however there is a permanent keyboard displayed on the screen that does not respond to touch. iPAD switches on with button but does not turn off using it at moment.  Can you help please?

    Apple iPAD 2.  Needs password to unlock iPAD; however there is a permanent keyboard displayed on the screen that does not respond to touch. iPAD switches on with button but does not turn off using it at moment.  Can you help please?

    Try a reboot by holding both the power and home buttons until the apple logo appears, ignore the red slider if that appears.  See if that clears the glitch.

  • HT5225 "This disc does not use the GUID Partition Table Scheme...". I keep getting this message when I try to install OSXLion. It has something to do with a repair Apple performed last year. I use a 17" MacBookPro. Any suggestions?

    "This disc does not use the GUID Partition Table Scheme. Use Disc Utility to change the partition scheme". I keep getting this message when I try to install OSX Lion so that I can upgrade my 17" MacBookPro to move to iCloud. My harddrive was replaced last year by Apple because of a fault by the manufacturer and I think this is the cause of the problem. What can I do so that I don't lose my content.

    When you click the partion tab. There is option on the bottom of the window. Click on that there there are these options.

  • Query does not uses indices

    I am using 10.2.0.1 database instance and wrote a SQL query which involves several tables but I had made sure all columns in where clause has got proper indexes. The query is fairly simple does not use any function etc. in where clause but inner joins.
    I have analyzed schema statistics using dbms_stats.gather_schema_stats... procedure and also added new required indexes to support this query.
    Now when I see explain plain for this query it still does full table scan? I do not understand why it is not using indices and does full table scan.
    Any comments?

    Pgoel,
    The plan that you posted with the proper tags to help when reading the plan:
    | Id  | Operation                     | Name               | Rows  | Bytes | Cost  | Time      |
    | 0   | SELECT STATEMENT              |                    |       |       |   279 |           |
    | 1   |  HASH UNIQUE                  |                    |   692 |  130K |   279 |  00:00:04 |
    | 2   |   NESTED LOOPS                |                    |   692 |  130K |   247 |  00:00:03 |
    | 3   |    HASH JOIN                  |                    |    12 |  2184 |   223 |  00:00:03 |
    | 4   |     HASH JOIN                 |                    |    12 |  2028 |   212 |  00:00:03 |
    | 5   |      HASH JOIN                |                    |    12 |  1608 |   203 |  00:00:03 |
    | 6   |       HASH JOIN               |                    |  3855 |  248K |    45 |  00:00:01 |
    | 7   |        HASH JOIN              |                    |  3855 |  132K |    20 |  00:00:01 |
    | 8   |         TABLE ACCESS FULL     | COD_SCHED_ITEMS    |  3970 |   39K |     6 |  00:00:01 |
    | 9   |         HASH JOIN             |                    |  3064 |   75K |    13 |  00:00:01 |
    | 10  |          INDEX FAST FULL SCAN | COD_SCHED_POLICY_PK|  3064 |   24K |     3 |  00:00:01 |
    | 11  |          TABLE ACCESS FULL    | COD_SCHEDULE       |  3155 |   52K |     9 |  00:00:01 |
    | 12  |        TABLE ACCESS FULL      | COD_ASSET          |  4982 |  151K |    25 |  00:00:01 |
    | 13  |       TABLE ACCESS FULL       | COR_ACL            |   46K | 3124K |   157 |  00:00:02 |
    | 14  |      TABLE ACCESS FULL        | COR_POLGROUP       |  3236 |  111K |     8 |  00:00:01 |
    | 15  |     TABLE ACCESS FULL         | COR_BASE_PRICE     |  3247 |   41K |    11 |  00:00:01 |
    | 16  |    INDEX RANGE SCAN           | QAM_LOG_URI_IX     |    58 |   580 |     2 |  00:00:01 |
    ----------------------------------------------------------------------------------------------Obtaining the plan from the 10053 trace was likely a minor goal of Sybrand when he suggested activating the trace. The plan implies that the cost based optimizer determined that Oracle would require 0.04 seconds to execute the plan and return the data. Does it take much longer than 0.04 seconds for the query to execute?
    As Sybrand pointed out, the 10053 trace shows the decisions made by the cost based optimizer when trying to determine the most efficient plan. If a potential step in the plan is determined to be more expensive (costly, assumed to require more time to execute) than a previously found method, the potential plan step is aborted. This process continues until one of:
    * All join order possibilities have been tried (8! = 40,320 possible)
    * 2,000 join order possibities have been tried
    * The continued examination of join combinations will require more time than Oracle predicts for the execution of the query.
    * And probably something else.
    The process and decisions made by the cost based optimizer are included in the 10053 trace. For some reason, possibily bad statistics, inappropriate initialization parameters, cardiality calcuation problems, or something else, Oracle calculated that retrieving the data from the tables using a full tablescan is less costly than an index access path. The 10053 trace will show why that happened.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • CM14 BI Publisher - modifying an existing Data Model, the Graphic View in Query Builder does not display

    I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60,  there are not 60 tables referenced in any CM report.
    Does this Query builder view work at all on any report?
    (bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
    Thanks,
    Paul L

    Kurt, thanks for your replies.
    A couple of notes/clarifications.
    1.     You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE.  I would recommend using Firefox too.
    2.     You are correct about the way to get to the Query Builder to see a graphical view of data tables.  There are basically two issues with this that I mentioned, but will re-iterate:
    a.  If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder.  Query Builder works only to create a NEW query from scratch.
    b.  Query builder is limited to selecting 60 fields max in your query.  If you are creating a large report with many tables, you may find that 60 fields is not enough.  For that you will have to work in the SQL edit screen rather than using the query builder.
    I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports.  You should be able to find the tables and joins documentation in the knowledgebase.

  • The Table.Column does not exist on the rowset

    Hi I have the following issue:
    I keep getting a message in Power BI Designer Preview that states:
    The 'collections.Name' column does not exist in the rowset.
    I have a MySQL DB connected to an Access DB and then I've created and saved a query within Access.
    Then I'm bringig in this query into Power BI Designer. To note, I can see my 1 row of data in the Query view of Power BI Designer but my error appears when I goto report after it tries to load the data into the model
    the MySQL Statement looks like this:
    SELECT orders.TRUNKSHOWID,
           orders.ID,
           orders.DATEENTERED,
           orders_products.NUMBER,
           orders_products.SIZE,
           orders_products.DESCRIPTION,
           products_categories.NAME AS Cat1,
           products_categories_1.NAME AS Cat2,
           collections.NAME,
           Releases.Name,
           orders_products.PRICE,
           orders_products.DISCOUNT,
           orders_products.TYPE,
           products.WHOLESALECOST,
           orders.FIRSTNAME,
           orders.LASTNAME,
           orders.ADDRESS,
           orders.ADDRESS2,
           orders.CITY,
           orders.STATE,
           orders.ZIP,
           orders.COUNTY,
           orders.COUNTRY,
           orders.PHONE,
           orders.EMAIL,
           orders.BILL_FIRSTNAME,
           orders.BILL_LASTNAME,
           orders.BILL_ADDRESS,
           orders.BILL_ADDRESS2,
           orders.BILL_CITY,
           orders.BILL_STATE,
           orders.BILL_ZIP,
           orders.BILL_COUNTRY,
           trunkshows.TRUNKKEEPERID
    FROM trunkshows
    INNER JOIN (Releases
                INNER JOIN ((((products
                               INNER JOIN (orders_products
                                           INNER JOIN orders ON orders_products.ORDERID = orders.ID) ON products.ID = orders_products.PRODUCTID)
                              INNER JOIN products_categories ON products.CATEGORYID = products_categories.ID)
                             INNER JOIN products_categories AS products_categories_1 ON products.CATEGORYID2 = products_categories_1.ID)
                            INNER JOIN collections ON products.COLLECTIONSID = collections.ID) ON Releases.ID = products.ReleasesID) ON trunkshows.ID = orders.TRUNKSHOWID

    Hi
    When you create a workbook in DEV, you will be assigning a query for that workbook
    When you transport workbook from DEV to QA,the assigned workbook comes along with it
    When you transport only query from DEV to QA, there are certain technical elements called query elements which may not have transported properly
    To avoid this inconsistency between DEV and QA,it is advisable you transport the workbook again....Create new workbook in DEV, assign a query, transport the workbook to QA
    Regards
    N Ganesh

Maybe you are looking for

  • How do I add visual voicemail to my account?

    Hi, Can you please provide the steps to add visual voicemail to my wireless account? Thank you, Gina

  • O/P ALV in edit mode

    Hi All, Can any on tell me how to get the coloumns of the O/P ALV table in eit mode. I have an alv table ready its working fine. All I know is I need to use some codes like call method l_value->if_salv_wd_table_settings~SET_READ_ONLY   EXPORTING    

  • Printing a large poster

    How do I set Pages to print a large poster over several sheets of 8.5"X11"paper to form a composite that can be taped together? Thank you

  • "Purchasing" items in GL_INTERFACE

    Hello, I would like to have "Purchasing" items in GL_INTERFACE. I have done this process for "Inventory" items but I don't know how to do it for "Purchasing" items. Could you tell me the steps that I have to follow from the beginning ( order, invoice

  • Captivate 7 - HTML5 audio/slides not syncing

    Hi, I am trying to publish out to HTML5 (Captivate 7 with the patch on Windows 7). I have audio on each slide and if I just let it run straight through, it's fine. However, if I page forward the audio is not sync'd with the slide anymore. It looks li