Error launching Query Builder

Immediately after supplying userid/password/database parameters when launching the Oracle Query Builder, the following error message is displayed:
OBE-15952: User privilege table not loaded
OBE-15950: No Query Builder tables--Database open/save is disabled
ORA-00942: table or view does not exist
What needs to be done to eliminate the messages?

hello,
query builder is no longer a supported product. however, you might want to try adding verbose=no to the commandline.
thanks,
ph.

Similar Messages

  • Internal errors during Query Builder

    Please help me to correct a problem. Database user has a very simple cube: a measure with two dimensions. User (named "warehouse") owns it, the fact table, the dimension tables etc.; client application connects using warehouse account too.
    While QueryBuilder makes a data source, one dimension (providers) fails at the some selections; for example, selections "top 10" and "last 3" works, but selection "measure value > 10000" fails; the other dimension (services) works great with all selections tried.
    "Fails" means that selection step can be selected (moved from "available" to "selected" box), but cannot be configured (edited) at any manner, both in the left and right boxes - for example, I cannot edit value "10000". This selection cannot be applied too. Visually query builder does nothing, but prints exception trace (see below).
    My configuration:
    BI Beans Diagnostics(v1.0.0.0) 04.03.04
    ===============================================================================
    JDEV_ORACLE_HOME ............................. = C:\JDeveloper
    JAVA_HOME .................................... = C:\JDeveloper\jdk
    JDeveloper version ........................... = 9.0.3.1.1107
    BI Beans version ............................. = 9.0.3.6.0
    BI Beans internal version .................... = 2.7.0.14
    Connect to database .......................... = Successful
    JDBC driver version .......................... = 9.2.0.3.0
    JDBC JAR file location ....................... = C:\JDeveloper\jdbc\lib
    Database version ............................. = 9.2.0.4.0
    OLAP Catalog version ......................... = 9.2.0.4.1
    OLAP AW Engine version ....................... = 9.2.0.4.1
    OLAP API Server version ...................... = 9.2.0.4.1
    BI Beans Catalog version ..................... = N/A; not installed in warehouse
    OLAP API JAR file version .................... = 9.2
    OLAP API JAR file location ................... = C:\JDeveloper\jdev\lib\ext
    Load OLAP API metadata ....................... = Successful
    Number of metadata folders ................... = 3
    Number of metadata measures .................. = 1
    Number of metadata dimensions ................ = 2
    Metadata output location ..................... = C:\JDeveloper\bibeans\bin\bi_metadata.txt
    Exception:
    Thu Mar 04 11:08:21 MSK 2004 In oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils::getDimMembers
    Sorry, these lines are re-translated from localized version
    oracle.express.ExpressServerException Error class: OLAPI
    Server errors description:
    DPR: Unable to create server cursor, Universal at TxsOqDefinitionManagerSince9202::crtCurMgrWthInputTypes
    OES: ORA-01722: invalid number
    , Universal at TxsRdbSelectStatement:execute()
         oracle.express.idl.ExpressOlapiDataCursorModule.CursorManagerInterface oracle.express.olapi.data.full.DefinitionManagerSince9202.createCursorManagerInterface(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.SourceDefinition, oracle.olapi.data.source.Source[], long)
              DefinitionManagerSince9202.java:260
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager oracle.express.olapi.data.full.DefinitionManager.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
              DefinitionManager.java:132
         oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.createCursorManagerSince9202(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
              ExpressDataProvider.java:729
         oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.internalCreateCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
              ExpressDataProvider.java:624
         oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[])
              ExpressDataProvider.java:555
         oracle.olapi.data.source.SpecifiedCursorManager oracle.olapi.data.source.DataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification)
              DataProvider.java:269
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryUtilities.setUpCursors(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], oracle.olapi.data.source.Source[], oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[], boolean, boolean, boolean, boolean)
              QueryUtilities.java:558
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryServer._setUpCursorsForMainQuery(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], boolean, boolean, boolean, boolean)
              QueryServer.java:7036
         void oracle.dss.dataSource.QueryServer._getCursorForCube(oracle.dss.dataSource.common.DimTree, boolean, boolean, boolean, boolean, boolean)
              QueryServer.java:4096
         void oracle.dss.dataSource.QueryServer._createCubeAndCursor(boolean, boolean, boolean)
              QueryServer.java:4251
         void oracle.dss.dataSource.QueryServer._createCommonQuery(java.lang.String[][], java.lang.String[], oracle.dss.util.Operation, oracle.dss.dataSource.common.QueryState)
              QueryServer.java:3894
         void oracle.dss.dataSource.QueryServer._initQuery(java.lang.String[][], java.lang.String[], oracle.dss.util.Operation, oracle.dss.dataSource.common.QueryState)
              QueryServer.java:3841
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
              Operation.java:69
         java.lang.Object oracle.dss.dataSource.OperationQueue.update()
              OperationQueue.java:68
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
              BaseOperationQueue.java:176
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
              BaseOperationQueue.java:146
         java.lang.Object oracle.dss.dataSource.QueryServer.queueOperation(java.lang.String, oracle.dss.util.Parameter[], boolean, oracle.dss.dataSource.common.QueryEvent, java.lang.String, oracle.dss.util.Parameter[], oracle.dss.dataSource.common.QueryState)
              QueryServer.java:7073
         void oracle.dss.dataSource.QueryServer.initQuery(java.lang.String[][], java.lang.String[])
              QueryServer.java:3803
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
              Operation.java:69
         java.lang.Object oracle.dss.dataSource.QueryManagerServer.sendQueue(oracle.dss.dataSource.common.BaseOperationQueue)
              QueryManagerServer.java:1548
         java.lang.Object oracle.dss.dataSource.common.OperationQueue.update()
              OperationQueue.java:198
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
              BaseOperationQueue.java:176
         java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
              BaseOperationQueue.java:146
         void oracle.dss.dataSource.client.QueryClient.initQuery(java.lang.String[][], java.lang.String[])
              QueryClient.java:1581
         oracle.dss.util.DataAccess oracle.dss.dataSource.common.QueryQueryAccess$SelCursor.getDataAccess(boolean)
              QueryQueryAccess.java:1099
         oracle.dss.util.DataAccess oracle.dss.dataSource.common.QueryQueryAccess.getDataAccess(java.lang.String)
              QueryQueryAccess.java:278
         java.util.Vector oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getDimMembers(oracle.dss.datautil.QueryAccessUtilities, java.lang.String, java.lang.String, java.util.Vector, java.lang.String)
              QueryBuilderQueryAccessUtils.java:220
         oracle.dss.datautil.DimensionMember oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getDimMember(oracle.dss.datautil.QueryAccessUtilities, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
              QueryBuilderQueryAccessUtils.java:156
         java.util.Vector oracle.dss.queryBuilder.stepView.ConditionStepView.getQDRMemberNames(java.lang.String, oracle.dss.selection.OlapQDR)
              ConditionStepView.java:230
         void oracle.dss.queryBuilder.stepView.ConditionStepView.updateQDRControls()
              ConditionStepView.java:606
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateQDR()
              MeasConditionStepView.java:451
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:208
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorContents()
              MeasConditionStepView.java:271
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:161
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateControls()
              MeasConditionStepView.java:148
         void oracle.dss.queryBuilder.stepView.StepView.updateStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int)
              StepView.java:562
         javax.swing.JPanel oracle.dss.queryBuilder.stepView.StepView.getStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int, int)
              StepView.java:522
         void oracle.dss.queryBuilder.StepsPanelEditor.startEdit(java.awt.Component, java.lang.String, int, java.awt.Rectangle)
              StepsPanelEditor.java:93
         boolean oracle.dss.util.dimensionList.DimensionList.doEdit(int)
              DimensionList.java:525
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.startEditingNewSelection()
              StepsPanel.java:404
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.dimensionSelected(oracle.dss.util.dimensionList.DimensionListEvent)
              StepsPanel.java:374
         void oracle.dss.util.dimensionList.DimensionList.notifyDimensionListListener(oracle.dss.util.dimensionList.DimensionListEvent)
              DimensionList.java:2074
         void oracle.dss.util.dimensionList.DimensionList.valueChanged(javax.swing.event.ListSelectionEvent)
              DimensionList.java:1772
         void javax.swing.JList.fireSelectionValueChanged(int, int, boolean)
              JList.java:946
         void javax.swing.JList$ListSelectionHandler.valueChanged(javax.swing.event.ListSelectionEvent)
              JList.java:960
         void javax.swing.DefaultListSelectionModel.fireValueChanged(int, int, boolean)
              DefaultListSelectionModel.java:170
         void javax.swing.DefaultListSelectionModel.fireValueChanged(boolean)
              DefaultListSelectionModel.java:140
         void javax.swing.DefaultListSelectionModel.setValueIsAdjusting(boolean)
              DefaultListSelectionModel.java:507
         void javax.swing.JList.setValueIsAdjusting(boolean)
              JList.java:1261
         void javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicListUI.java:831
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:231
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void oracle.dss.util.dimensionList.DragList.processMouseEvent(java.awt.event.MouseEvent)
              DragList.java:202
         void oracle.dss.util.dimensionList.DimensionList.processMouseEvent(java.awt.event.MouseEvent)
              DimensionList.java:2167
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.Dialog.show()
              Dialog.java:380
         void java.awt.Component.show(boolean)
              Component.java:946
         void java.awt.Component.setVisible(boolean)
              Component.java:903
         boolean oracle.bali.ewt.wizard.WizardDialog.runDialog()
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog()
              DefaultBuilderDialog.java:481
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.run()
              DefaultBuilderDialog.java:466
         boolean oracle.dss.queryBuilder.QueryBuilder.run()
              QueryBuilder.java:2401
         void borlas.oa.Actions.actionEditQuery.doAction()
              actionEditQuery.java:44
         boolean borlas.oa.Actions.Action.fire()
              Action.java:88
         void borlas.oa.Forms.FormModule.editQuery()
              FormModule.java:132
         void borlas.oa.Forms.FormModule.access$6000071(borlas.oa.Forms.FormModule)
              FormModule.java:42
         void borlas.oa.Forms.FormModule$1.actionPerformed(java.awt.event.ActionEvent)
              FormModule.java:113
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.AbstractButton.doClick(int)
              AbstractButton.java:279
         void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicMenuItemUI.java:886
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85
    Exception occurred during event dispatching:
    java.lang.NullPointerException
         java.util.Vector oracle.dss.queryBuilder.stepView.ConditionStepView.getQDRMemberNames(java.lang.String, oracle.dss.selection.OlapQDR)
              ConditionStepView.java:230
         void oracle.dss.queryBuilder.stepView.ConditionStepView.updateQDRControls()
              ConditionStepView.java:606
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateQDR()
              MeasConditionStepView.java:451
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:208
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorContents()
              MeasConditionStepView.java:271
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
              MeasConditionStepView.java:161
         void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateControls()
              MeasConditionStepView.java:148
         void oracle.dss.queryBuilder.stepView.StepView.updateStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int)
              StepView.java:562
         javax.swing.JPanel oracle.dss.queryBuilder.stepView.StepView.getStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int, int)
              StepView.java:522
         void oracle.dss.queryBuilder.StepsPanelEditor.startEdit(java.awt.Component, java.lang.String, int, java.awt.Rectangle)
              StepsPanelEditor.java:93
         boolean oracle.dss.util.dimensionList.DimensionList.doEdit(int)
              DimensionList.java:525
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.startEditingNewSelection()
              StepsPanel.java:404
         void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.dimensionSelected(oracle.dss.util.dimensionList.DimensionListEvent)
              StepsPanel.java:374
         void oracle.dss.util.dimensionList.DimensionList.notifyDimensionListListener(oracle.dss.util.dimensionList.DimensionListEvent)
              DimensionList.java:2074
         void oracle.dss.util.dimensionList.DimensionList.valueChanged(javax.swing.event.ListSelectionEvent)
              DimensionList.java:1772
         void javax.swing.JList.fireSelectionValueChanged(int, int, boolean)
              JList.java:946
         void javax.swing.JList$ListSelectionHandler.valueChanged(javax.swing.event.ListSelectionEvent)
              JList.java:960
         void javax.swing.DefaultListSelectionModel.fireValueChanged(int, int, boolean)
              DefaultListSelectionModel.java:170
         void javax.swing.DefaultListSelectionModel.fireValueChanged(boolean)
              DefaultListSelectionModel.java:140
         void javax.swing.DefaultListSelectionModel.setValueIsAdjusting(boolean)
              DefaultListSelectionModel.java:507
         void javax.swing.JList.setValueIsAdjusting(boolean)
              JList.java:1261
         void javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicListUI.java:831
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:231
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void oracle.dss.util.dimensionList.DragList.processMouseEvent(java.awt.event.MouseEvent)
              DragList.java:202
         void oracle.dss.util.dimensionList.DimensionList.processMouseEvent(java.awt.event.MouseEvent)
              DimensionList.java:2167
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.Dialog.show()
              Dialog.java:380
         void java.awt.Component.show(boolean)
              Component.java:946
         void java.awt.Component.setVisible(boolean)
              Component.java:903
         boolean oracle.bali.ewt.wizard.WizardDialog.runDialog()
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog()
              DefaultBuilderDialog.java:481
         boolean oracle.dss.datautil.gui.DefaultBuilderDialog.run()
              DefaultBuilderDialog.java:466
         boolean oracle.dss.queryBuilder.QueryBuilder.run()
              QueryBuilder.java:2401
         void borlas.oa.Actions.actionEditQuery.doAction()
              actionEditQuery.java:44
         boolean borlas.oa.Actions.Action.fire()
              Action.java:88
         void borlas.oa.Forms.FormModule.editQuery()
              FormModule.java:132
         void borlas.oa.Forms.FormModule.access$6000071(borlas.oa.Forms.FormModule)
              FormModule.java:42
         void borlas.oa.Forms.FormModule$1.actionPerformed(java.awt.event.ActionEvent)
              FormModule.java:113
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.AbstractButton.doClick(int)
              AbstractButton.java:279
         void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
              BasicMenuItemUI.java:886
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85

    Also read this great article
    http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/05/13/your-try-block-may-fail-and-your-catch-block-may-be-bypassed.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Disable Query Builder Tool access to end users

    Hi,
    Did any of you block the Query Builder Tool access to your end users?
    In our Netweaver 2004s BI implementation, we have a special need to restric the access to Query Builder Tool. Mostly our users are using BEx Analyzer tool (Front end service pack- SP12). Any ideas in this regards would be highly appreciated? Of course I can restrict access on the back end that our end user is only able to read the Query. What I am looking what is, how to stop the user even from launching Query Builder tool?
    Thanks
    Jay Lakshmanan

    Hi Altera,
    If the role doesnt give access to transaction RRMX and if none of the Reporting Auth Objects (S_RS_COMP, S_RS_COMP1, S_RS_FOLD)  exists, than the user will not have access to Query Builder.
    Hope it helps.
    Please award points if it is useful.
    Thanks & Regards,
    Santosh

  • Ora-01741 in query builder

    hi,
    i'm getting an oracle error in query builder that i'm hoping someone could explain. i used query builder to build a simple query without issue. i saved it and i was able to retrieve query again and get the data. here's the query that was saved......
    select AUDIT_EVENT.ENTITY_NAME as ENTITY_NAME,
    AUDIT_MGMT_PROVISIONING.OWNER_NAME as OWNER_NAME,
    AUDIT_EVENT.ENTITY_TYPE as ENTITY_TYPE,
    AUDIT_EVENT.ACTION as ACTION,
    AUDIT_EVENT.TIMESTAMP as TIMESTAMP,
    AUDIT_EVENT.INITIATOR_NAME as INITIATOR_NAME,
    PUTPERSON_SN.SN as SN,
    PUTPERSON_GIVENNAME.GIVENNAME as GIVENNAME
    from PUTPERSON_SN PUTPERSON_SN,
    PUTPERSON_GIVENNAME PUTPERSON_GIVENNAME,
    ITIMACCOUNT_OWNER ITIMACCOUNT_OWNER,
    AUDIT_MGMT_PROVISIONING AUDIT_MGMT_PROVISIONING,
    AUDIT_EVENT AUDIT_EVENT
    where AUDIT_EVENT.ID=AUDIT_MGMT_PROVISIONING.EVENT_ID
    and AUDIT_EVENT.INITIATOR_DN=ITIMACCOUNT_OWNER.OWNER
    and ITIMACCOUNT_OWNER.OWNER=PUTPERSON_GIVENNAME.DN
    and ITIMACCOUNT_OWNER.OWNER=PUTPERSON_SN.DN;
    the problem arise when i drop table PUTPERSON_SN and rebuild it. i rebuild it with the exact structure and data as before. but when i go back into htmldb and run the saved query, this is the query that i got back and i got the error ora-01741. notice the table PUTPERSON_SN is missing and the whole where clause is gone. could someone explains what could be happening? it seems as though query builder is aware PUTPERSON_SN got dropped and the rebuild table isn't the same even though the structure and data are the same. does query builder or htmldb somehow keeps track of the object_id in the database? thanks
    select     "AUDIT_EVENT"."ENTITY_NAME" as "ENTITY_NAME",
         "AUDIT_MGMT_PROVISIONING"."OWNER_NAME" as "OWNER_NAME",
         "AUDIT_EVENT"."ENTITY_TYPE" as "ENTITY_TYPE",
         "AUDIT_EVENT"."ACTION" as "ACTION",
         "AUDIT_EVENT"."TIMESTAMP" as "TIMESTAMP",
         "AUDIT_EVENT"."INITIATOR_NAME" as "INITIATOR_NAME"
    from     "" "",
         "PUTPERSON_GIVENNAME" "PUTPERSON_GIVENNAME",
         "ITIMACCOUNT_OWNER" "ITIMACCOUNT_OWNER",
         "AUDIT_MGMT_PROVISIONING" "AUDIT_MGMT_PROVISIONING",
         "AUDIT_EVENT" "AUDIT_EVENT"

    Just wanted to let you know that Bug 5347850 has been logged for this problem.

  • Does Query Builder support Alias like in Oracle

    Dear Experts,
    As I read one artical give a detailed information regarding the tables in BOE, so i want to use one sql statements to get the information from that table.
    I exclude the way to check directly on infoview and designer. I just want to know the way how to get thoes information from query builder.
    eg: i know the SI_ID for one webi, and so i want to find out what's the universe/connection/owner etc belong to it.
    I have one sample sql as below:
    select IA.SI_KIND,IB.SI_NAME,IC.SI_NAME,IW.SI_NAME,IE.SI_NAME
    from CI_INFOOBJECTS IA, CI_INFOOBJECTS IB, CI_INFOOBJECTS IC, CI_INFOOBJECTS IW, CI_INFOOBJECTS IE
    where IA.SI_PARENTID=IB.SI_ID and
    IA.SI_OWNER =IC.SI_ID and
    IA.si_universe=IW.SI_ID
    and IW.SI_CONNECTION =IE.SI_ID
    But i got the "invalid error" from query builder, so i guess maybe the query builder support the Alias like in Oracle.
    If you know how to use one statement to check the webi and it's universe/connection etc, please kindly assist.
    Many thanks.
    Sophie

    Query Builder is not meant for running complex queries against repository so i dont think Alias will work in query builder.Try to get results with simple queries else you can use SDK to get your job done.
    -Gokul.

  • Oracle Query Builder 2.5 error

    May be I'm posting it to the wrong forum but...
    I'm getting the error BRW-15954: Oracle Query Builder 2.5 tables are missing or not installed properly when I try to launch Browser. What can I do about it?
    Help please!!!
    Thanks,
    Alex

    You may have to run some of the scripts located in 'oracle_home\browse25\sql' directory as user 'SYSTEM'.

  • Query Builder error when loading importing certain SQL files

    Using an SQL statement which causes Oracle*Reports 6i to issue "Error loading data constraints" messages, the following error is displayed form the Oracle Query Builder:
    OBE-15952: User privilege table not loaded
    OBE-15950: No Query Builder tables--Database open/save is disabled
    ORA-00942: table or view does not exist
    These are the same errors issues just by launching the Query Builder.
    The database contains multiple virtual databases, called entities, such that we can have multiple, virtual systems sharing some common data between them. Could it be that there are problems with the 'virtual database' entity features?

    hello,
    what database version are you using ? it might be, that query builder does not support the version/features you are using.
    thanks,
    ph.

  • Error launching the power pivot report builder in SharePoint 2013

    I have sharepoint site which uses classic windows authentication. 
    i uploaded a simple excel file with two columns which has a data model created in Excel 2013. 
    I am trying to create a power view report out of it in SharePoint ..
    I am getting following errorrs
                  <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message
    xmlns="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'http://devreports.hellosolutions.com/TestPowerPivotGallery/Ageofrol.xlsx'. Verify that the connection information is
    correct and that you have permissions to access the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.5058.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.5058.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.5058.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'http://devreports.hellosolutions.com/TestPowerPivotGallery/Ageofrol.xlsx'. Verify that the connection information
    is correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.5058.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'TemporaryDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error
    navigate to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
    kukdai

    Hi,
    According to your post, my understanding is that you could not launch report builder in the client machine.
    Did you install the .Net 4.0 framework on your machine?
     .Net 4.0 framework needed to be installed on each user's machine, you can install it, then check whether it works.
    More information: 
    http://social.technet.microsoft.com/Forums/en-US/ac51a022-6173-4840-96b5-32119b132bb5/unable-to-launch-report-builder-30?forum=sqlreportingservices
    As this is the forum for SharePoint server on-premise, I’m not familiar with the Reporting service, for this issue, I recommend you can post a new question in the forum for SQL Server Reporting Services.
    https://social.technet.microsoft.com/Forums/en-US/ac51a022-6173-4840-96b5-32119b132bb5/unable-to-launch-report-builder-30?forum=sqlreportingservices
    More experts will assist you, then you will get more information relation to Reporting Services.
    Thank you for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Error when launching Flex Builder 3

    Hello,
    I'm new to flex and just downloaded the trial version of Flex
    Builder 3. When launching the builder, I get the following error in
    the log. What am I missing?
    !SESSION 2008-12-07 21:08:26.880
    eclipse.buildId=unknown
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.equinox.app 2008-12-07 21:08:35.292
    !MESSAGE Product com.adobe.flexbuilder.standalone.product
    could not be found.
    !ENTRY org.eclipse.osgi 4 0 2008-12-07 21:08:35.472
    !MESSAGE Application error
    !STACK 1
    java.lang.RuntimeException: No application id has been found.
    at
    org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer. java:236)
    at
    org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
    at
    org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
    at
    org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
    at
    org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926 )
    at
    org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
    Any help is appreciated.
    Thanks

    no line, it just gives me that error every once in a while
    when the application is originally launched, but not every
    time.

  • Parsing Error when using query builder

    I have a query with a subquery in the WHERE statement witn multiple fields listed in the select statement.
    For example, the subquery starts with "AND (center, jobid) IN SELECT center, jobid FROM ........
    The query runs fine and gives me the correct data
    However when I click on the Query builder option, I receive the following error
    "Text is not a valid, single SELECT statement.
    Parsing error:
    Failed to parse SQL query.
    Invalid Select Statement.
    Unexpected token "from" at line13, pos 1.
    Query Builder Disabled
    I believe this to be a problem with the query builder, Am I correct?

    Query Builder is a visual environment targeted at novice/intermediate users. Some advanced and/or hard to visualize language features are not supported. The improved error messaging coming in 3.1 would indicate this is 'unsupported' rather than 'not a valid, single SELECT statement.' For example, (using scott/tiger):
    Text contains unsupported syntax.
    Parsing error:
    Failed to parse SQL query.
    Invalid SELECT statement.
    Unexpected token "," at line 4, pos 16.
    Query Builder disabled.
    select distinct d.dname
    from dept d, emp e
    where d.deptno = e.deptno
      and (e.deptno, e.job) in
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    I don't know what your real query is, but refactoring to use join on derived table or table expression (or, as Gary said, separate IN clauses) rather than '(a, b) IN' will allow Query Builder to display it.
    derived table: select distinct d.dname
    from dept d, emp e,
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    ) filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.job
    table expression: with filter as (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    select distinct d.dname
    from dept d, emp e, filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.jobBrian Jeffries
    SQL Developer Team

  • OBE-15065: Syntax error query builder

    Hello
    i am using the below sql query.
    SELECT (
    A.emp ||
    '200' ||
    LPAD((SELECT COUNT(*) FROM TRANSACTIONS WHERE TRANSACTIONS.PROCESSED ='N'),6,'0') ||
    LPAD((SELECT SUM(AMOUNT) FROM TRANSACTIONS WHERE TRANSACTIONS.PROCESSED ='N'),10,'0') ||
    '000000000000' ||
    LPAD(A.ORIGIN,10,' ') ||
    RPAD(NVL(A.MSGAUTHCODE,' '),19,' ') ||
    RPAD(NVL(A.RESERVED,' '),6,' ') ||
    RPAD(A.IMDDEST,8,' ') ||
    LPAD(A.BTNUMBER,7,'0'))
    FROM CONTROL_TABLE A
    This query works fine in sql*plus.
    i am placing this query in report data wizard and the query builder gives error "OBE-15065: Syntax error"
    the report i am developing is to a delimited output as a fixed length falt file.
    because of this query whenever i try to export using desformat=delimite and destype=file in system parameters. the report builder crashes.
    have anyone faced this sort of problem.
    is there something wrong with the query and iam doing it in wrong way in the reports.
    please give your suggestions
    thanks in advance
    krishna

    You haven't said what version of Oracle or what version of Query Builder you are using. There are things that work in SQL, but not in PL/SQL or various tools, especially in older versions. A select statement within a select clause is one of those things that gets rejected. Usually, the easiest way to fix it is to move the select statement from the select clause to the from clause. Please try the following and see if it solves your problem:
    SELECT A.emp
    || '200'
    || LPAD (b.b_count, 6, '0')
    || LPAD (c.c_count, 10, '0')
    || '000000000000'
    || LPAD (A.ORIGIN, 10,' ')
    || RPAD (NVL (A.MSGAUTHCODE, ' '), 19, ' ')
    || RPAD (NVL (A.RESERVED, ' '), 6, ' ')
    || RPAD (A.IMDDEST, 8, ' ')
    || LPAD (A.BTNUMBER, 7, '0')
    FROM CONTROL_TABLE A,
    (SELECT COUNT (*) AS b_count
    FROM TRANSACTIONS
    WHERE TRANSACTIONS.PROCESSED ='N') b,
    (SELECT SUM (AMOUNT) AS c_count
    FROM TRANSACTIONS
    WHERE TRANSACTIONS.PROCESSED ='N') c

  • Query Builder Error

    I am trying to create a new test report in BI Publisher.
    When I was testing the connection in Admin/JDBC panel. It says Connection established Successfully. But When I try to open a query Builder , It throws me the following error.
    "Could not load schema information. Please make sure that this connection is active."
    Any thoughts ?
    p.s I am behind proxy. (Changed oc4j.cmd already).
    Thanks in Advance.

    Dear All:
    Well, I hope the solution below could solve your problem.
    1. Goto the Admin tab from your Oracle BI Publisher Enterprise.
    2. Goto the JDBC Connection, there you'll find some of your JDBC predefined connections.
    3. Click on the Data Source where you find these error.
    4. Replace the jdbc:oracle:thin:@HOST:PORT:SID with HOST, PORT, and SID (e.g. jdbc:oracle:thin:@localhost:1521:ORCL).
    5. Enter username and password from the schema (e.g. u:HR p:HR for HR Schema).
    6. Test the connection, make sure that it is successfully connected. Otherwise you should check the connection detail.
    7. Done. Back to your query builder.
    Regards,
    Adrian

  • Query Builder - sort order causing ORA-00979 error

    Hello,
    I'm having an issue with the "sort order" clause in the query builder tool when using a function on the same column.
    I've build a simple query in the gui and the following statement is displayed in the SQL Window
    select     "DEMO_ORDER_ITEMS"."ORDER_ID" as "ORDER_ID",
         sum(DEMO_ORDER_ITEMS.QUANTITY) as "QUANTITY"
    from     "DEMO_ORDER_ITEMS" "DEMO_ORDER_ITEMS"
    group by DEMO_ORDER_ITEMS.ORDER_ID
    and if I add a sort order of "1" on the quantity field, the following query is changed to
    select     "DEMO_ORDER_ITEMS"."ORDER_ID" as "ORDER_ID",
         sum(DEMO_ORDER_ITEMS.QUANTITY) as "QUANTITY"
    from     "DEMO_ORDER_ITEMS" "DEMO_ORDER_ITEMS"
    group by DEMO_ORDER_ITEMS.ORDER_ID
    order by DEMO_ORDER_ITEMS.QUANTITY DESC
    When running this query I get an error
    failed to parse SQL query:
    ORA-00979: not a GROUP BY expression
    It is quite obvious what is wrong with the query but I don't know how to get the query builder tool to generate the correct statement. The order by clause should be order by sum(DEMO_ORDER_ITEMS.QUANTITY) DESC.
    I've tried to do some searching and haven't found much documentation on this issue. Any assistance is appreciated.
    Thanks,
    Tony

    While this statement is generally certainly true and should also be remembered, it is not really helpful for the specific case.
    I think the behaviour described is a bug. However this might be one a little difficult to solve. The user unfortunatly can't influence much of the query builder results directly.
    Either put 1 into the order by clause or use the column alias name without table alias name ("QUANTITY" only).
    My personal solution would be NOT TO use any sort criteia in the query builder. This makes sense in so far as the generated SQL is often basis for some report. If that is an interactive report you won't add a sort order anyway. This is a layout thing and layout will be handled by the end user itself. he can choose whatever sorting he wants.
    Edited by: Sven W. on Jul 22, 2009 11:43 AM

  • Query Builder - Where Clause - Could not format error using date comparison

    We've come across a bug in the Query Builder, under the Create Where Clause tab, if you select a column of Date type plus one of the comparison operators =, !=, <, >, <=, >=, BETWEEN or NOT BETWEEN it displays an error in the Logging Page:
    Level: Severe
    Source: o.d.r.queryBuilder.SQLGenerator
    Message: Could not format :2010-09-02 16:20:31.0
    Then under the Show SQL tab it doesn't display the date(s) you selected, e.g.
    WHERE LAST_UPDATE BETWEEN AND
    Also the View Results tab does not display any results.
    You can still press Apply to add the SQL as is to the editor window and from there you have to manually code in the date parameters.
    We're using the latest version of SQL Developer 2.1.1.64.45 Windows 32bit version with JDK

    Hi Gordon,
    When I add the following lines:
    declare @refdt1 date
    set @refdt =
    /*select 1 from jdt1 t0 where t0.RefDate*/ '[%1]'
    declare @refdt2 date
    set @refdt =
    /*select 1 from jdt2 t0 where t0.RefDate*/ '[%2]'
    WHERE T0.RefDate >= @refdt1 and T0.RefDate <= @refdt2
    ... the error message is now:
    Must declare the scalar variable @refdt1
    Note: Before adding these lines, the query works perfectly, and returns totals from the whole database (with dynamically generated column headings!)
    Thanks
    Leon Lai
    AMENDED QUERY:
    declare @refdt1 date
    set @refdt1 =
    /*select 1 from jdt1 t0 where t0.RefDate*/ '[%1]'
    declare @refdt2 date
    set @refdt2 =
    /*select 1 from jdt1 t0 where t0.RefDate*/ '[%2]'
    --------- I inserted the 6 lines above ---------------------
    DECLARE @listCol VARCHAR(2000)
    DECLARE @query VARCHAR(4000)
    SELECT @listCol =
    STUFF
    ( SELECT DISTINCT   '],['    +    CAST(month(T0.RefDate) AS varchar)
    FROM  JDT1 T0
    FOR XML PATH('')
    ), 1, 2, ' ') +   ']'
    SET @query =
    'SELECT * FROM
    (SELECT Account, month (T0.RefDate) Month , Debit
    FROM JDT1 T0
    ------------------- I add the WHERE clause below --------------------
    WHERE T0.RefDate >= @refdt1 and T0.RefDate <= @refdt2
    GROUP BY Account, RefDate, Debit
    ) S
    PIVOT
    Sum(Debit)
    FOR Month IN ('+@listCol+')
    ) AS pvt'
    EXECUTE (@query)
    Edited by: LEONLAI on Oct 21, 2011 2:36 PM

  • SQL Query Builder Error

    Hi,
    I'm trying to build a data model based on data on our server. I've created a Data Set in SQL using the Query Builder, but when I go to save, I receive this error message:      
    [Hyperion][SQLServer JDBC Driver][SQLServer]Invalid object name 'CMPROJ.DBO.ISDT'.
    Does this have anything to do with accessing my server? Any suggestions?
    Many Thanks.

    Sorry but this has nothing to do with this thread - aimed for questions around Oracle Communications Data Model, the Enterprise Data Warehouse for Telcos available as DB option.
    You might want to ask your question to the BIapps folks/Hyperion Thread. If still interested by "building" a data model for comms, you'd better save time and get something pre-built like OCDM...
    Regards
    Axel.

Maybe you are looking for

  • Windows Store: Error code: 0x80240438

    Started this morning and cannot seem to sync app licenses or download any apps from the Windows Store.

  • Error when using OMBDEPLOY SPECIFICATION FROM

    I am trying to deploy process flow from xml file generated with OWB using following OMB command OMBDEPLOY SPECIFICATION FROM 'import.xml' I got following error OMB05623: Cannot deploy Specification from file. Exception follows. Element 'Package' used

  • Is it possible to uninstall iOS 3.1.3 on a 1st gen Ipod?

    I recently updated my 1st gen iPod up to iOS 3.1.3, and upon doing so I discovered that my ipod was no longer compatible with the Sony clock radio dock that I have been using. I wish to find a way to uninstall 3.1.3 in order to go back to the previou

  • How to deal with Fixed Assests in Process Enabled Orgs?

    How to deal with Fixed Assests in Process Enabled Orgs We have a Process Organization - Food Industry , We are implimenting the Process Manufacturing . But we also have plenty of machines etc i.e. Fixed assets. Can any one suggest how to deal with th

  • Hyperlinks style is inconsistent throughout doc

    Hello, I have one set style for my hyperlinks, yet when I print the document as a PDF the appearance of the style varies throughout.  Some underlines are thicker than others, some underlines are further offset.  How do I ensure the style remains cons