Failed to create the Data Source by using the pivot table query

Hi people.

Running Oracle BI Publisher 11.1.1.6.0

He complains with ORA-01738: lack of KEYWORD

When I try and a SQL query in function by using the data set:

SELECT *.
FROM (SELECT ist.descr |) ' '|| EIT. Descr service_type, ROUND (sum (milf.ttl_number_units)) ttl_number_units
Of mv_iot_line_item_forecasting mllf
Ope on ope.master_entity_id = milf.partner_master_entity_id JOIN operator
JOIN iot_service_type on ist.iot_service_type_id = milf.iot_service_type_id ist
JOIN iot_event_type on iet.iot_event_type_id = milf.iot_event_type_id EIT
WHERE milf.iot_agreement_id = 2621
AND milf.traffic_direction = 'CR '.
AND ope.operator_type_id = pkg_ngc_constants.operator_type_id_gsm
Ope.main_reference GROUP, ist.descr | ' '|| EIT. Descr)
PIVOT (sum (ttl_number_units) FOR service_type IN ("Voice MO' like' voice', 'MT voice' as 'voice MT", "SMS MO" as "SMS MO", "SMS MT" as "SMS MT", "MB of data" as "MB of data"))
order by 1


No idea why it won't let me create?

The query runs perfectly fine in SQL.

Any input appreciated.

Simon

Can you try to change your "IN" clause to this and see if it works?

service_type IN ("voice MO' as Voice_MO, 'Voice MT" as Voice_MT, "SMS MO" as SMS_MO, "SMS MT" SMS_MT, 'MB of data' as Data_MB)

Thank you
Bipuser
Published by: BIPuser on October 18, 2012 07:40

Published by: BIPuser on October 18, 2012 07:41

Tags: Business Intelligence

Similar Questions

  • 836: failed to create the shared memory data, error 22 store segment

    Hi, I am new to timesten and databases in general, and I'm testing the database timesten to test.

    I am running ubuntu linux in virtualbox and have java 6 is installed. So far, I installed the timesten database and configured the sys.odbc.ini to create a new database. However, it seems that I can't connect to a database.

    I connect with the orattadmin of the user (which belongs to groups both timesten and ttadmin)

    I run the commandes./ttenv.sh and I have the classpath for ttjdbc6.jar in it.
    then I run le./ttisql.sh, and when I try to connect to mydatabase or any other database present in the sample folder I get:

    $. / ttisql

    Copyright (c) 1996-2011, Oracle. All rights reserved.
    Type? or 'aid' help, type "exit" to leave the ttIsql.


    Command > Connect "dsn = mytest_ttdb";
    836: failed to create the shared memory data, error 22 store segment
    The command failed.

    what I am doing wrong? What can I do?

    Thanks for your time

    A data store active TimesTen consists of a single shared memory segment allocated from o/s. The size of this segment is PermSize + TempSize + LogBufMB + ~ 20 MB. This allowance will not allow the o/s unless the 'package' kernel parameter has a value greater than the requested size of the segment. According to the Guide of Installation TimesTen, you set various parameters of the kernel on the appropriate values (memory shared, semaphores, etc.).

    Chris

  • Failed to create the specific message of B2B Protocol

    Hello

    I get this error when sending the message-



    Machine Info: (PUNITP84609D)
    Description: Failed to create the specific message of B2B Protocol
    StackTrace:
    Error -: AIP-51503: general create Message error: java.lang.Exception: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2289)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1641)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1147)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage (MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run (MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.Exception: java.lang.NullPointerException
    ... 7 more
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.getPrivateKeyFromWallet(EBMSExchangePlugin.java:5967)
    at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.getPrivateKeyForSigning(EBMSExchangePlugin.java:5322)
    at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.signAttachment(EBMSExchangePlugin.java:5160)
    at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.createMessage(EBMSExchangePlugin.java:2130)
    ... 6 more


    What could be the source of the error?

    Thank you.

    Kind regards
    Anuj Dwivedi

    Hello

    There is another method that can help you get things going. 'Orapki' is a utility that is shipped along with the installation of the Oracle Application (path on windows $ORACLE_HOME/bin/orapki.bat) server and you can use the same to generate the wallet and certificate for your test object.

    Here are the steps, first of all, let's create an empty wallet and the second will add a self certificate signed to it.

    1 C:\Oracle10g\midtier2\bin\orapki.bat wallet create - portfolio. Eu1 - pwd
    2. Add C:\Oracle10g\midtier2\bin\orapki.bat wallet - wallet. -1024 key size - dn "CN = sample" - self_signed - pwd eu1 - validity 365

    Note: For some reason the private keys attached to the wallet created using keytool do not appear, or may not be localizable.

    Kind regards
    Sinkar
    [Correction to Ramesh team]

  • Failed to create the object: VcFolder

    When you try to use the following line:

    var myVcFolder = new VcFolder();

    I get the error message: failed to create the object: VcFolder: com.vmware.vmo.plugin.vi4.model.VimFolder

    I'm new script in orchestrator.  I guess I'm just an import or missing something.

    Any help would be greatly appreciated!

    Records as VirtualMachines and others are objects managed - they live on the vCenter and what you work with is a proxy. You can instantiate the VcFolder object in the script, but will not create an object in the vCenter. The right way is to get a proxy to an instance of file and call the method "createFolder". By default, you have a rootFolder object named "Data centers" and you create your hierarchy below.

  • Problem of driver ODBC Oracle when trying to create a data source / Win XP

    Hi guys,.

    hope I'm here with my question.

    When I try to create or data source in Windows (regardless if user or system data source), and then click 'Test connection', I get this error:
    * [SQLAllocHandle from Microsoft] [ODBC Driver Manager] drive on SQL_Handle_ENV failed *.

    TNS name is correct, tnsname.ora is correct, the user is correct.

    I have the driver for an OraClient10g is installed on my machine.

    I'll reinstall this package? Other things to do to fix this?

    Many thanks for any help,


    Christian

    Published by: ChristianP2 on October 6, 2008 18:13

    You can read this article
    http://www.orafaq.com/Forum/m/100430/0/?srch=driver%27s+SQLAllocHandle+on+SQL_Handle_ENV+failed#msg_100430

    someone said that it fixed the problem after the correct path environment variables

    someon claimed that it is permission problem when installing.

  • Boot Camp install fails: cannot create the partition

    512SSD i7 MacBook Pro late 2013

    Boot Camp Assistant 6.0

    O/S 10.11.2

    true (paid for!) Windows 10 home

    Create USB boot exactly according to the instructions of the Boot Camp Assistant (time consuming)

    Re-partition Mac SSD in Colombia-British Deputy with 60 GB for windows partition

    Restart the system and boot of Windows Setup

    Enter the key to victory, everything works fine

    When you choose which partition to install windows, select 60 GB

    Installer of Win said partition is not formatted correctly, so I use the formatting tool in the installer

    Formatting tool seems to work but removes the volume name: it was Boot Camp and becomes Untitled

    60 GB re partition - select an installer says "failed to create the partition" or something similar

    Installer refuses to go forward and the only way out is to leave the Setup program

    Mac to Mac o/s boots

    Tried a couple of times and always the same result.

    Someone has an idea what I am doing wrong? I'm just following the instructions of the Boot Camp Assistant...

    This is the case, if you have any other than the USB storage and storage internal connected.

  • Error message: cannot copy... Failed to create the directory or file.

    I get the Error Message ' cannot copy (a file USB Store n Go): failed to create the directory or file.»  All of a sudden I started getting error message is when I tried to copy to the USB mass storage: "F:" copy on the removable key worked for a proor very long in this message. And there are a lot of empty space.  The diagnosis says that everything works correctly.

    Dear Clarence

    Try first to unplug the mass storage device, then reconnect and format it by Righ click on Format.

    Then try to paste these files on this USB key again.

    If it fails this time then format your USB using HP USB stick formatting to http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=MTX-UNITY-I23839 tool

    Click Download on the page above. Install it and run it. This will guide you through the steps of formatting your USB drive in a few seconds...

    It is also useful for the repair of the almost dead usb keys.

    Concerning

    Zeeshan Ahmad

  • My Readyboost does not work. When I click on dedicate to Readyboost, it gives me an error: failed to create the cache.

    ReadyBoost - Cache problem!

    My Readyboost does not work.  When I click on dedicate to Readyboost, it gives me an error: failed to create the cache.  The process cannot access the file because it is being used by another process.  Help!

    Hello

    Did you change your computer?

    (a) click on the 'Start' button, then click on 'computer '.

    (b) right click on the USB drive or flash memory card that uses Windows Ready Boost, then click 'properties '.

    (c) click on the tab "Ready Boost" in the 'Properties' window to the memory card or the USB drive.

    (d) select the title radio button "do not use this device ' then click on 'OK '. This step should remove automatically the Ready Boost cache on the device. If you are unable to use the full capacity of the device, proceed to the next step.

    (e) double-click the memory card or the USB drive.

    (f) right click on the file 'ReadyBoost.sfcache' and then click 'remove '.

    (g) click 'Yes' to remove the ReadyBoost cache.

    Reconnect the device ready boost which allows the service to boost loan which will create the new cache.

    I suggest you to follow the links and check out them.

    Check your hard drive for errors

    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Turn ReadyBoost on or off for a storage device

    http://Windows.Microsoft.com/en-us/Windows7/turn-ReadyBoost-on-or-off-for-a-storage-device

    Using memory in your storage device to speed up your computer

    http://Windows.Microsoft.com/en-us/Windows7/using-memory-in-your-storage-device-to-speed-up-your-computer

  • Failed to create the Conference ' 8801 - Test connection '-duplicate digital id

    Running 13.1 TMS and Codian 8510 SD blade running 4.20 (1.43)

    When I'm planning through TMS using this card, I get the following error:

    Failed to create the Conference ' 8801 - Test connection '-duplicate digital id

    However when I'm planning TMS using another slide with the same version of the software it works

    Can someone tell me why this is happening?

    Anthony

    We had the same problem with > = 20 conferences on the blade, and I can tell you that we had the same thing

    question and the question went after the 4.2 update (1.50) and TMS13.1.2 (if the MCU upgrade)

    alone must fix).

    And, you got the point in your last message, > = 20 conf == problem,.<20 =="no">

    What I have is that the API MCU always reported only the first 20 conferences.

    TMS has created the new conference (and I also saw a new reserved (e) of the Conference on the MCU)

    but TMS checked once again if that's really where went wrong because he was not listed in the breast of the

    first of all 20 and if it failed.

    Codian updates may take some time until the blade is up again after the reboot, so be patient :-)

    Good luck!

  • RW-00000: cannot write in the following directory. Please check the permissions. Failed to create the context to the/tmp file

    Hi, I'm under RapidWiz 12.2.0.50 to make a R12.2 installation on a platform for x 86-64 Oracle Linux 7.1.

    I get the error message

    RW-00000: cannot write in the following directory. Please check the permissions. Failed to create the context to /tmp/11061511/lab3_DEMO1_db.xml file

    However I've looked at what my directory/tmp is completely open (wise authorization), as well as the subdirectory 11061511 under

    lab3-nms: / > ls - al

    drwxrwxrwx. 14 root root 4096 Nov 6 15:22 tmp

    lab3-nms: / tmp > ls - al

    Total 16

    drwxrwxrwx. 14 root root 4096 Nov 6 15:22.

    drwxrwxrwx. 19 root root 4096 Nov 6 14:19...

    drwxrwxrwx 2 root root 25 Nov 15:11 6 11061511

    drwxrwxrwx. 2 root root 19 6 Nov 14:18 .esd-0

    drwxrwxrwx. 2 root root 6-9 Oct 23:16 current unix

    drwxrwxrwx. 2 root root 17 6 Nov 15:11 hsperfdata_root

    drwxrwxrwx. 2 root root 14:18 Nov 94 6. ICE-unix

    drwxrwxrwx 2 root root 23 6 Nov 14:18 ssh-KQeDztQLkQHj

    drwxrwxrwx 3 root root 16 6 Nov 14:18 systemd-private-OgJMdJ

    drwxrwxrwx 3 root root 16 6 Nov 14:18 systemd-private-S5pkDq

    drwxrwxrwx 3 root root 16 6 Nov 14:18 systemd-private-x5Iry2

    drwxrwxrwx. 2 root root 6-9 Oct 23:16. Test-unix

    -rwxrwxrwx 1 root root 11 6 Nov 14:18. X 0-lock

    drwxrwxrwx. 2 root root 24 6 Nov 14:18. X 11-unix

    -rwxrwxrwx 1 root root 11 6 Nov 14:18. X 1-lock

    drwxrwxrwx. 2 root root 6-9 Oct 23:16. XIM-unix

    lab3-nms: / tmp/11061511 > ls - al

    Total 16

    drwxrwxrwx 2 root root 25 Nov 15:11 6.

    drwxrwxrwx. 14 root root 4096 Nov 6 15:22...

    -rwxrwxrwx 1 root root 8529 6 Nov 15:22 11061511.log

    any ideas what the permission problem?

    Thank you

    Jim

    Found the problem and it's nothing to do with users, groups, and permissions of files (tmp or anything else besides!)

    The problem was that I had not put the sysconfig according the upgrade installation Notes & R12.2 for Linux x 86-64 ( note 1330701.1 )

    I guess the bum steer, which gives install them quick - is indicating that the question is a problem of permission of the files in / tmp, when it is not really!

    The only thing I can think is that it uses sysconfig content to add the name of host or domain, the file name, he tries to put in / tmp.

    hope this helps

    Jim

  • Failed to create the object: _vCACCAFEEntitiesFinder

    Trying to getbusiness groups leave a host given vCac and using the method of getbusinessgroups _vCACCAFEEntitiesFinder... but series workflow in error



    Failed to create the object: _vCACCAFEEntitiesFinder: class ch.dunes.vso.sdk.DynamicWrapper cannot access a member of the class com.vmware.o11n.plugin.vcac.model.inventory.EntitiesFinder with modifiers "private."


    How can we solve the above error?

    Hello

    It seems you are trying to instantiate a new instance of the vCACCAFEEntitiesFinder class using code similar to the following:

    var host = ...; // vCAC host object
    var ef = new vCACCAFEEntitiesFinder(); // instantiate vCACCAFEEntitiesFinder
    var groups = ef.getBusinessGroups(host); // retrieve business groups
    

    You can't do that; vCACCAFEEntitiesFinder is a singleton script and cannot be instantiated. You must use the name directly as in the following code:

    var host = ...; // vCAC host object
    var groups = vCACCAFEEntitiesFinder.getBusinessGroups(host); // retrieve business groups
    
  • Failed to create the external network

    Hi all.

    Well, I have deployed VIO with NSX. I created 2 virtual machines (instances) with 2 internal networks. I created router, plugged on both networks. Tried to ping of vm1 (int_net1) to the virtual machine 2 (int_net2) through router - everything works fine.

    So, the next step was to provide access to Internet of the virtual machines. I try to create the shape of external network Admin-> Control Panel-> network-> network create system:

    Name: extnet1

    Project: MyProject

    Type of network provider: dish (deployment master I chose NSX environment and VLANs separated to outside networks)

    Admin State: checked

    External network: checked

    When I press the button "Create network" an error has occurred: ""Error: failed to create the extnet1 network '. " How can I create external network?

    Thank you all for help. I solved my problem. For the future: you can only use "PortGroup" in Type of network provider. So when I chose PortGroup and set it to the external network 'dvportgroup-XX' have been created.

    controller01 2015-08-12 07:51:34.847 INFO [req-e17f7e0a-fd22-4f06-ba05-76c760b7d6f8 neutron.api.v2.resource None 11320] create failed (client error): Invalid input for operation: GRPE caught ports support only on external networks.

  • Error 25003. Installation failed to create the repository of the vCenter server.

    Hello

    I try to install vCenter Server 4.0. When the Installer tries to Creator repository an error pops up:

    Error 25003. Installation failed to create the repository of the vCenter server.

    I click OK and the installation of double-dipping.

    The last records in the Setup log are:

    Found "C:\Program Files\VMware\Infrastructure\VirtualCenter Server\vpxd.exe".

    Run as user logon administrator

    Found "C:\Program Files\VMware\Infrastructure\VirtualCenter Server\vpxd.exe".

    3221225477 returned by process

    ERROR: Failed to create the repository of VirtualCenter

    Displaying the Error 25003

    Description of our environment:

    • VCenter service runs under the SYSTEM account.

    • Autonomous mode eval version.

    • All ports are standard.

    • Using SQL2005 Express on the installation media.

    • I downloaded the trial version.

    • The server is VM on ESX with SP2 of Win 2003 x 86 CZE Standard Edition

    • The server is not in AD

    • Space 7.5 GB free disk

    I also tried to create the manully database but no luck.

    Thanks for the tips.

    After Installing Win XP SP3 ENG everything works OK... If the problem was really in the language version of the operating system...

  • ORA-19506: failed to create the file for sequential access

    Hello, log backup archive My RMAN is a failure... Here is the info from the full log file. Can someone please shed some light on this...


    Recovery Manager: release 10.2.0.3.0 - Production on the game 17 Dec 09:00:02 2009

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    RMAN >
    connected to target database: INVENT (DBID = 12345667)

    RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 > 11 > 12 >
    using the control file of the target instead of recovery catalog database
    allocated channel: t1
    channel t1: sid = 959 devtype = SBT_TAPE
    channel t1: VERITAS NetBackup for Oracle - version 6.0 (2007070504)

    allocated channel: t2
    channel t2: sid = 962 devtype = SBT_TAPE
    channel t2: VERITAS NetBackup for Oracle - version 6.0 (2007070504)

    executing command: SET ORDER ID

    SQL statement: alter system archive log current

    From backup 17 December 09
    Current archived log
    channel t1: from archive newspaper backupset
    channel t1: specification of archive log backup set
    archive log entry thread = 1 = recid 61859 46634 = 705760770 stamp = sequence
    archive log entry thread = 1 sequence = recid 61860 = 46635 = 705762477 stamp
    archive log entry thread = 1 = recid 61861 46636 = 705765886 stamp = sequence
    archive log entry thread = 1 = recid 61862 46637 = 705767598 stamp = sequence
    archive log entry thread = 1 sequence = 61863 recid = stamp 46638 = 705769235
    archive log entry thread = 1 sequence = 61864 recid = 46639 stamp = 705769236
    archive log entry thread = 1 = recid 61865 46640 = 705773535 stamp = sequence
    channel t1: starting piece 1 to 17 December 09
    channel t2: from archive newspaper backupset
    channel t2: specification of archive log backup set
    archive log entry thread = 1 sequence 61866 recid = 46641 = 705774395 stamp =
    archive log entry thread = 1 = recid 61867 46642 = 705775744 stamp = sequence
    archive log entry thread = 1 = recid 61868 46643 = 705776075 stamp = sequence
    archive log entry thread = 1 = recid 61869 46644 = 705783627 stamp = sequence
    archive log entry thread = 1 = recid 61870 46645 = 705783628 stamp = sequence
    archive log entry thread = 1 = recid 61871 46646 = 705787215 stamp = sequence
    archive log entry thread = 1 sequence = recid 61872 stamp 46647-= 705787215 =
    archive log entry thread = 1 = recid 61873 46648 = 705804999 stamp = sequence
    archive log entry thread = 1 sequence = 61874 recid = stamp 46649 = 705834020
    channel t2: from room 1 to 17 December 09
    RMAN-03009: failure of the backup command on channel t2 at 2009-12-17 09:01:38
    «"ORA-19506: failed to create the batch file, name ="7bl14b16_1_1", parms ="»
    ORA-27028: skgfqcre: sbtbackup returned the error
    ORA-19511: error received from layer media manager, error text:
    VxBSACreateObject: Failed with the error:
    Server status: could not allocate new media for backup, storage unit has no available
    T2 channel disabled, job failed on it will run on another channel
    output channel: t1
    output channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on channel t1 at 2009-12-17 09:02:43
    «"ORA-19506: failed to create the batch file, name ="7al14b16_1_1", parms ="»
    ORA-27028: skgfqcre: sbtbackup returned the error
    ORA-19511: error received from layer media manager, error text:
    VxBSACreateObject: Failed with the error:
    Server status: could not allocate new media for backup, storage unit has no available

    RMAN >

    Complete recovery manager.

    It's all about media layer. You may need to ask Veritas netbackup admin to fix the problem and resubmit the backup after that.

  • When you try to install PDF Creator, I get an error message: "error 5 - failed to create the directory, access is denied."

    access denied for the creation of a directory

    When you try to install PDF Creator, I get an error message: "error 5 - failed to create the directory, access is denied."  How can I fix this?

    When you try to install PDF Creator, I get an error message: "error 5 - failed to create the directory, access is denied."  How can I fix this?

    Only when you try to install this application?

    What about BullZIP PDF Printer?

    (You can uninstall - trying to figure out if it's a problem of Windows or the question of enforcement.)

Maybe you are looking for

  • Untrusted connection is missing section "I understand the risks".

    Run Firefox 33.1.1 on Windows 7, try to access https://code.google.com. I get the page "this connection is untrusted", (specifically sec_error_unknown_issuer), but there is no section "I understand the risks" to allow me to add an exception. Other po

  • Compac cq5300f: no video via usb adapter

    Unable to get the video of this ada [ter to my Exclation point error screen in Manager. device with the following equipment. Need help drivers USB\VID_1D5C & PID_2000 & REV_0200 & MI_00 USB\VID_1D5C & PID_2000 & MI_00

  • my hp support assistant does not work

    My HP support assistant asked me to update the computer... I did that... then he asked me for my laptop restsrt... I have restrted it and I did it when the windows opend I have not found the HP support assistant icon and he asked me again to restrt m

  • e-mail reminder buttons

    Dear Sir. Some time before having a remider e-mail buttons in the toolbar. I had added more than two identification of email with the password. When we on my pc, if there is a new mail, they me and you can also remind connection by clicking on the mo

  • After you have reinstalled windows, web pages are bigger than my screen, any suggestions?

    All icons, tabs, and the bars are larger than before taking more space on the screen, which leaves less room for the pages. Don't know what to do, and without any help from the computer nearby.