Example Oracle Magazine page 65

Hi,
I'am trying to follow example on page 65 in last Oracle Mag about Websheets in Oracle APEX.
But when I'am changing the sql-statment, I will get "ORA-20001: Query must begin with SELECT or WITH".
[[SQL: SELECT
cust_first_name,
cust_last_name
from demo_customers
order by cust_last_name]]
What is wrong?
This query is working:
[[SQL: SELECT
cust_first_name
from demo_customers
order by cust_last_name]]
If I add alias to the column or add a new column I will get "ORA-20001: Query must begin with SELECT or WITH"..
Regards
Tobias
Edited by: Tobias on Oct 1, 2010 6:25 AM

Hi Tobias,
Try putting the whole lot (from the double-open-square-brackets to the double-close-square-brackets) on a single line; this worked for me.
Regards
Mungo
P.S. I emailled David Peake and asked him to comment on this thread too.

Similar Messages

  • Congratulations to Oracle Magazine 'Editor's choice Awards 2005' winners

    Friends,
    I just got the copy Oracle Magazine for Nov/Dec 2005. While being through the Magainze, I was quick to realize that its year end and time for Editors' Choice Award. Really happy to know that Mark Rittman has been selected as Oracle ACE of the Year. Also, congrats to the authors of 'Oracle Wait Interface: A Practical Guide to Performance Diagnostics & Tuning'
    Many congratulations to all the winners.
    Jaffar

    Congrats to Nonki and ME!!!! =^)
     Small Basic Technical Guru - February 2015  
    Nonki Takahashi
    Small Basic: Key Input
    Michiel Van Hoorn: "Great improvement."
    RZ: "Very nice explanation and examples of key input handling"
    Ed Price - MSFT
    Small Basic: The History of the Logo Turtle
    RZ: "Turtle (Logo) was the first programming language for many, including perhaps some of the Small Basic prorammers. Nice article explaining the history."
    Michiel Van Hoorn: "A nice background article and hopefull inspiration for those who want to start in robotics"
    Nonki Takahashi
    Small Basic: TechNet Wiki Article List
    Michiel Van Hoorn: "This is great! Perfect as a local cache of the articles. "
    RZ: "A good example"
    Also worth a mention were the other entries this month:
    Small Basic Known Issue: 29976 - Assignment to Array in Event Handler Needs Time by
    Nonki Takahashi
    RZ: "This is a very good catch. The workaround mentioned is very helpful."
    Michiel Van Hoorn: "Ah, very helpfull if you ever bumped into this"
    Welcome to Small Basic by
    Nonki Takahashi
    Michiel Van Hoorn: "Nice greating"
    RZ: "A good introduction page"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Getting 404 error when trying to login to Oracle EBS page

    Hi,
    I had installed Oracle EBS 12.0.4 last year and everything was running fine until last week. Last week, we suddenly started seeing this issue - when trying to login to the Oracle EBS page, we are getting the 404 page not found error.
    I have EBS installed on 2 VMs (virtual machines) - one VM has the application server and other VM has the database server. I logged on to the aplpication server to do some debugging and noticed 2 things ->
    1.The Oracle Fullfillment service was not running. I started it, it was up for some time but then it stopped on its own. This happens everytime - after successfully starting the service, it shuts down after sometime. There is nothing in the event viewer except this message "The service may have terminated abnormally, please see the log file generated by the service for more details." I checked the log file, but there is nothing significant inside the log file. Maybe I need to increase the log level. Can any one tell me how can I do that?
    2. Reviver.exe was crashing intermitently on the application server. I belive reviver tries to establish the connection between the application and database server after its broken.
    So I am thinking now that maybe the connection between the app server and the database server is getting broken intermittenlty and this is the root cause of all the problems.
    I dont know how to verify whethe my analysis is correct or not? And it it is, how to resolved it? Is there a setting or a configuration file in which you have to specify the database server details (ip address / host name etc). Can you tell me where can I find this setting?
    Or culd there be something altogether different that is causing the page not found error?
    Thanks in advance,
    Megha

    Hussein,
    The problem is partially solved - I am not getting the 404 error now. The issue was not with the netsvc file. Please see the resolution in NOTE:412980.1 (oafm,forms and oacore not starting up after IP adress change).
    The OC4J services are imperative for any URL for java code. With just the Apache listener running, examples of URLS that will work are ->
    http://HOST.DOMAIN:PORT/OA_MEDIA/FNDLOGOL.gif
    http://HOST.DOMAIN:PORT/
    Any URL for Java code will fail at this stage when OC4J services are down. For example this URL will fail: http://myHost.oracle.com:8000/OA_HTML/ServletPing.
    But now, I am getting 500 Internal server error. Let me know if you kno anything about this error ->
    oracle.apps.fnd.cache.CacheException     at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)     at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)     at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)     at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259)     at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114)     at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037)     at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)     at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891)     at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:751)     at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1014)     at oracle.apps.fnd.sso.Utils.getAppsContext(Utils.java:525)     at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:120)     at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:170)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection     at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712)     at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)     at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)     at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)     ... 33 moreCaused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.get
    null
    The base exception is:
    null Connection     at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)     at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)     at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)     ... 37 more

  • Flashback in oracle magazine

    I have not used Oracle as yet. We are still on the mainframe. But I was looking at ORACLE magazine article November/December issue and page 62. When doing flashback you have to shutdown oracle and then startup mount to do flashback.
    A question?
    1. In mainframe world, we do not have to bring down CICS to do restore on a certain file - mayebe just close it. All people can still use CICS except that file.
    2. Oracle do you have to take down the whole database just to do flashback and stop everybody from doing their job?
    Thanks
    Ronald

    You should ask this question in the Database General forum:
    General Database Discussions

  • Oracle Magazine in Digital format

    I recently purchased a tablet pc. Is Oracle Magazine available in a digital format so that I can read it in Zinio, for example?

    I'm another person that would love to see Oracle Magazine in electronic format (that includes the ad's -- someone's got to pay the rent) any possibility of it

  • URGENT: How to Run an existing Oracle apps page in Jdev 10g

    Hi All,
    I have downloaded Jdeveloper 10G with OA Extension from the patch 5856648. I am able to successfully run the "test_fwktutorial.jsp" and "HelloWordPG.xml". I need to customize an existing Oracle apps page for one of our client requirement. I've done the following:
    1. Downloaded the BC4J components of the page which include xml and .class files from $JAVA_TOP/oracle/apps/ego and placed it in myproject( C:\p5856648_R12_GENERIC\jdevhome\myprojects) and also myclasses( C:\p5856648_R12_GENERIC\jdevhome\myclasses) folder of my jdeveloper.
    2. Downloaded the mds PG.xml from $APPL_TOP/ego/mds and placed it in C:\p5856648_R12_GENERIC\jdevbin\jdev\oamdsxml\fwk with the appropriate folder structure.
    I need to extend one of the VO and one of the controllers from the above standard oracle files. But since there are only .class files in the server, if I open the .class files, the methods are missing in those files. By decompiling the class files also, during run time it gives me error.
    What is the right approach and steps to use the existing Oracle apps files. Is there some way in Jdeveloper where we can set the source of java file with compiled .class files. I'm not able to work in the Jdeveloper for this customization. Please could some one help.
    Thanks & Regards,
    Anita

    1st thing to make sure is that you want to do changes for an R12 instance because that's this version of Jdev is provided for.
    Class files are required in myclasses folder only. Also page xml files should be in myprojects folder with the appropriate folder path.
    Decompiling class files are only way to work with them.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Setup issue in oracle projects - classifications link(standard link) is missing in oracle projects page

    Hi Team,
    I have a setup  issue in oracle projects
    I am unable to find the classifications link in oracle projects page.
    Navigation : Go to any projects responsibility-->search for the projects-->click on project -->click on setup Tab : At the bottom of the page, we can see some standard links along with UDA's.
    Here one standard link Classifications is missing.
    Can anybody guide me what setup we need to do get the link.
    Thank you.

    Hi,
    The classifications link is not appearing in your Project's Setup page because, Classifications must have been unchecked in the Project template from which your project has been created. You can find the Project template information by clicking on the Additional Information link in the same Project -setup page. Once you check the classification flag in the concerned Project Template, all future Project creations made out of this template would have the link enabled.
    But for the current project, classification link cannot be enabled.
    Rgds,
    Shan

  • Example Oracle Forms app viewable online?

    Hi,
    Can anyone point me to an example Oracle Forms app available online using IE and Jinitiator?
    I don't have the environment to run demo code, and am not interested in the code itself, I simply want to run an app in IE to try to replicate a conflict between jinitiator and an IE Add-in that I'm responsible for.
    thanks,
    - Rory

    Our browser Add-on is only available for IE, and the problem only happens when the add-on is running. So we've not tried Firefox but it wouldn't help unfortunately.
    - Rory

  • Single-step deployment article from July/August Oracle Magazine Question

    Hi,
    As I worked through the article "Single-Step Deployment" on Oracle magazine July/August Issue,
    I ran into a problem on substep 9 of Step 3 to
    change the option of P2_MANAGER_ID with LOV.
    The error I got is
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
    Did anyone encounter same problem?
    Any suggestion to deal with this error?
    Thanks for any advice.
    YY

    Hi,
    Have you given your column names aliases?
    Cheers,
    Mike

  • Oracle portal page error.

    Hi!
    When I click on a tab in Oracle Portal page i got the following error:
    - ORA-01403: no data found ORA-20101: ORA-06512: at "DEV_PORTAL.WWPOB_API_PAGE", line 5247 ORA-01403: no data found ORA-01403: no data found.
    In WLS_PORTAL.log fileL do not appear any error message but in the WLS_PORTAL.out i get:
    - ERROR: Repository Gateway error: Database Error: ORA=20001 ORA-20001: Unable to obtain session information from the cookie.
    ORA-06512: at "DEV_PORTAL.WPG_SESSION", line 174
    ORA-06512: at line 32
    I Have installed the 11g version in a Windows Server 2008.
    Anybody knows how can i solve it?
    Regards.

    Dennis
    A general shared_pool_size Q&A is part of the Troubleshooting Guide on OTN: http://technet.oracle.com/products/iportal/htdocs/portal_troubleshooting.htm
    The Configuration Assistant determines the shared pool size from the view v$parameter,
    which lists information about the initialization parameters (populated from init.ora file). If the shared_pool_size value is more than 15728640 (for a default installation), you pass the minimal requirements set by the Portal Installer. Make sure you actually write out all the digits (i.e. 1000000000) and don't use abbreviations (1000M). Currently, the Configuration Assistant does a numeric check against the values that are set and cannot resolve the abbreviate syntax.
    Also try running the sql [select value from v$parameter where name like 'shared_pool_size';] to check if the changes you are making in the init.ora is really getting populated in the v$parameter view. As long as you restart the database once you make the change in init.ora, it should take effect.
    null

  • Want september /october edition of oracle magazine

    Pls mail to me the september/october edition of oracle magazine, i am q registered user and because of change of place i have not received it ,i am a regular reader and i am desprate to have this time because of 10g R2 release.
    my user id for OTN is : sathishpai
    my address is
    5 / 69 , Kannadasan Nagar,
    Kodungaiyur,
    Chennai -600118
    India
    I have updated my address change in OTN,but i think it was bit late,
    Kindly confirm and sorry if this is a wrong place for my request, i am not able to find a contact address for issues like mine in oracle.com.
    thanks
    sathish pai

    Please contact Oracle Magazine customer service at [email protected]
    Cheers, OTN

  • Downloading Oracle Portal Pages

    Hi,
    I have made a demo site using Oracle Portal on my Computer.
    I need to give this site to someone who does not have Oracle Portal on his computer.
    Is there anyway I can download the Oracle Portal pages to normal HTML pages and view the files on the local machine for offline browsing.
    Please let me know if there is a tool which can do the above.
    Please reply urgently
    Thanks
    Kamlesh C. Ramchandani

    You're in the wrong forum. Try the WebCenter forum:
    WebCenter Portal
    And I'd suggest narrowing the scope of your question. A fully-fledged portal that... does what? (Again, don't answer here :) )

  • Apex not on Oracle Magazine Renew Survey

    I just renewed my Oracle Magazine subscription today and noticed that Application Express is not listed in the survey. I know that it is part of the Oracle database, but shouldn't it be listed under the Oracle Development Tools?
    Mike

    I noticed the same thing this morning. Thought it was rather strange that it wasn't listed anywhere, like under Toold or Framework (I think those were the categories).
    Bill Ferguson

  • Problem in oracle portal Pages:

    Hi All,
    Problem in oracle portal Pages:
    one page containing four tabs
    one of the tab contain parameter form when i submit it ,i get required result
    but the focus go to other tab.
    i check it all possible options but this doesn't resolve.
    Regards

    You're in the wrong forum. Try the WebCenter forum:
    WebCenter Portal
    And I'd suggest narrowing the scope of your question. A fully-fledged portal that... does what? (Again, don't answer here :) )

  • Non Receipt of Oracle Magazine

    Hello,
    I am a member of OTN and have subscribed for the Oracle magazine. However, I subscribed long time ago and have only received one mag in 2004 and one in 2005. Please help with what might be wrong.
    Regards,
    Linoj Job.

    Please contact subscriber service at [email protected]
    Cheers, OTN

Maybe you are looking for

  • Itunes wont open need help backing up music on external hard drive

    My itunes wont open after upgraded to 8 , ive uninstalled and reinstalled itunes and quicktime and still wont work. i found a topic to possibly help me but i dont know how to tranfer my music to an external disk drive without being able to open itune

  • How does a session bean find entity beans in EJB 3.0

    Hi, I am new to J2EE. I have difficulties finding out how a session bean locates the entity-manager for a group of entity beans. I understand that the entitymanager in the session bean is injected using the PersistenceContext annotation, but I dont s

  • Is it possible to have video with a transparent background in dps?

    Is it possible to have video with a transparent background in dps?. Basically i've animated some elements in apple motion and want to incorporate them as an overlay (with the indesign page background showing through).

  • QuickTime 7.6.2 won't play videos - blank screen, no sound

    I have tried AVI files from my hard drive and Flash videos from the Internet. My computer runs Flash 10. MP3 audio files work okay.

  • Layer comps - plugin (composer)

    Hi, i would like to start using Photoshop cc 2014 but i have a plugin that doesn't have an update for this version Composer for Photoshop | Layer Comps, Improved is there anything i can do to use it in the newest photoshop version? thank you in advan