Query works perfectly on other db (mysql) but crashes on oracle...why?

What is wrong with this query? I cannot see anything.
ORA-00936: missing expression
SELECT
               FolderLevel2.g_access,
               FolderLevel2.deactive,
               FolderLevel2.customize_access,
               FolderLevel2.fromdate,
               FolderLevel2.todate,
               FolderLevel2.userid,
               FolderLevel2.folder_desc,
               File.url,
               File.thumbnail,
               File.id,
               File.item_desc,
               File.userid,
               File.copy_of_id,
               File.group_owner
FROM
               FileTbl FolderLevel0, FileTbl FolderLevel1, FileTbl FolderLevel2, LinksTbl2 File
WHERE
FolderLevel0.parent=0 AND
FolderLevel1.parent=FolderLevel0.id AND
FolderLevel2.parent=FolderLevel1.id AND
File.treeid=FolderLevel2.id AND
FolderLevel1.folder='file store' AND
FolderLevel2.folder='images' AND
File.title='NCSLinD New logo 1(78x418)' AND
FolderLevel0.prjid=1002210573 AND
FolderLevel1.prjid=1002210573 AND
FolderLevel2.prjid=1002210573 AND
File.prjid=1002210573 AND
File.deactive=0 AND
File.main_version_id=0

ORA-00936: missing expression
SELECT
               FolderLevel2.g_access,
               FolderLevel2.deactive,
               FolderLevel2.customize_access,
               FolderLevel2.fromdate,
               FolderLevel2.todate,
               FolderLevel2.userid,
               FolderLevel2.folder_desc,
               File.url,
               File.thumbnail,
               File.id,
               File.item_desc,
               File.userid,
               File.copy_of_id,
               File.group_owner
FROM
FileTbl FolderLevel0, FileTbl FolderLevel1,
l1, FileTbl FolderLevel2, LinksTbl2 File I have a feeling that it's the presence of the word "File" on its
own - try calling it My_File or somesuch?
Just a thought.
Paul...
WHERE
FolderLevel0.parent=0 AND
FolderLevel1.parent=FolderLevel0.id AND
FolderLevel2.parent=FolderLevel1.id AND
File.treeid=FolderLevel2.id AND
FolderLevel1.folder='file store' AND
FolderLevel2.folder='images' AND
File.title='NCSLinD New logo 1(78x418)' AND
FolderLevel0.prjid=1002210573 AND
FolderLevel1.prjid=1002210573 AND
FolderLevel2.prjid=1002210573 AND
File.prjid=1002210573 AND
File.deactive=0 AND
File.main_version_id=0

Similar Messages

  • PopToRootViewController working fine in other OS version, but crashes when i tried it in iOS5.0

    Why PopToRootViewController throws "EXC_BAD_ACCESS" and thread stops at main's "int retVal = UIApplicationMain(argC...);"
    I tried it on a iOS 5.0 simulator, its working fine in other versions of simulators.
    Why this happens? Has anyone gone through the same issue?

    Please use the confidential forums created for this purpose: 
    iOS 5 beta
    ...thanks and good luck.

  • I am not able to hear any sounds of games on the speaker. Though the sounds function on the head fones. The speaker works perfect in other applications except games.Have checked all the settings but not able to fix it.

    i am not able to hear any sounds of games on the speaker. Though the sounds function on the head fones. The speaker works perfect in other applications except games.Have checked all the settings but not able to fix it.

    Have you got notifications muted ? Only notifications (including games) get muted, so the iPod and Videos apps, and headphones, still get sound. Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and its the icon; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085
    If that doesn't solve it then try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Urgent help please, I made an file with the size 1024x768, then i made two folios, one for retina 2048x1536 and one for non retina 1024x768, i have alot of video content in it, everything works perfect on my retina ipad, but when i open it on ipad 2 an er

    Urgent help please, I made an file with the size 1024x768, then i made two folios, one for retina 2048x1536 and one for non retina 1024x768, i have alot of video content in it, everything works perfect on my retina ipad, but when i open it on ipad 2 an error appears on the pages with video content?

    its in german:
    der Vorgang könnte nicht abgeschlossen werden.
    something like the process coundnt be completed

  • Iphone 5 won't charge unless I wiggle the cable around to fine a spot where it works. It's not the cable/charger as it works perfectly in other iPhone 5's. I haven't even had it a year so it's still under warranty and the phone is in very good condition

    Iphone 5 won't charge unless I wiggle the cable around to fine a spot where it works. It's not the cable/charger as it works perfectly in other iPhone 5's. I haven't even had it a year so it's still under warranty and the phone is in very good condition and has never been abused/dropped etc. I'm taking it into apple tomorrow for an appointment. Has anyone had this problem? if so, what happens? thanks

    I had the same problem and took my iPhone 5 into the Apple store.  What happened was a little embarrassing.  The genius took out a "special tool" (a paper clip) and began digging out an unimaginable amount of lint from the lightning connector port.  After that I was able to connect the cord and charge without any issues. 
    A few days after, I realized that my problems associated with the remote/mic not working on my ear pods might be due to the same issue.  (The volume and action buttons on the ear pods sometimes were not responsive)  I grabbed a paper clip and began digging.  Again, a large wad of lint came out of the headphone port and my ear pods have worked perfectly since. 

  • After updating my 5s it will not longer logon to free wifi at our local YMCA. It worked perfectly before and works at all other free wifi's. My wifes 5s works perfectly at the same Y but it shows a different IP address for their wifi than mine.

    After updating my iphone 5s to ios8 it will no longer log onto the free wifi at my local YMCA. It works prefectly everywhere else. My wife's 5s works perfectly there but shows a different IP address for their router. Mine worked prefectly there before. What can be done?

    After updating my iphone 5s to ios8 it will no longer log onto the free wifi at my local YMCA. It works prefectly everywhere else. My wife's 5s works perfectly there but shows a different IP address for their router. Mine worked prefectly there before. What can be done?

  • HT4628 My Mac mini has decided to continuously drop off my wifi network and is incredibly slow to open a web page. Wifi is working perfectly with other devices.

    Hi my Mac mini will not stay on the network today and is slower than a pc to lad a web page.
    I've followed various suggestions off the web and still have the same problem. 1 second the network is available and working slow and the next it says in network diagnostics that ISP has failed. The router is fine as I'm using an iPad and iPhone and all is working perfectly at +5 Mbps however when I try to open yahoo in safari it take about 5 minutes to open the page and then when I try to create a new mail I get the same Tim delay and then can't enter a send to address!
    I've never managed to sort out email either but it not for a lack of trying about 30 different suggestions.
    I'm fairly new to mac and am getting very very frustrated with not being able to solve these problems.
    Can anyone please steer me towards a step by step or screen by screen resolution please please please help?

    Please answer as many of the following questions as you can. You may already have answered some of them; in that case, there's no need to repeat the answers.
    Restart your router and your broadband device, if they're separate. Any change?
    If possible, connect to your router with an Ethernet cable and turn off Wi-Fi. Any difference?
    Are any other devices on the network, and if so, are they the same?
    If you can connect to more than one network, are they all the same?
    Are all network applications affected, or only some? If only some, which ones?
    Is networking always the same, or is the problem intermittent?
    Disconnect all other devices from the network. Any change?
    Boot in safe mode and test. Any difference?
    If possible, turn off Bluetooth and disconnect any USB 3 devices. Any difference?

  • OSx not recognized. Invalid node estructure error but Windows 7 partition works perfectly. All tests done but still don't know what is wrong

    I have an Imac Snow Leopard 10.6.3 1TB hard drive , it has a partition of 100gb for Windows 7 using Bootcamp (only for games)
    The computer was kind of slow one night. The next day it was so terrible slow that I decided to restart it, but it never showed OSX again. If I try to boot into single user mode it shows Windows Boot Manager. Even booting with alt only shows Bootcamp Windows. Is like OSX dissapeared.
    I tried Disk utility and it showed an "inlavid node structure" error, "Disk Utility cannot repair this disk"
    I also used Diskwarrior, the test was relatively fast and showed this at the end "Disk Warrior has successfully built a new directry for the disk. The new directory cannot replace the original because of disk Malfunction. Disk Malfunction is a failure of or damage to any mechanical component of the disk or any component connected to it"
    I also did a S.M.A.R.T. test from diskwarrior which turned out ok
    I used Apple Hardware test, (booting with D and the Applications DVD). It goes through several things, even logic board but when it reaches "testing in progress" almost at the end it gets stucked. I have tried the simple and complete test in many different ways, with mouse, without, everything disconnected, it doesnt matter,  clicking the "Stop Testing" button or using cmd+period (as instructed on screen) doesn't stop the test. The "Total Time Testing" field also stops counting. I have to force shut down with the power button every time.
    But here comes the most odd part of this story. The computer now almost always boots in the Windows 7 partition which works perfectly. I can chat, use viderocamera, save, delete, listen to music, watch videos, etc.... I even enter from Windows all my MAC Archives and backuped almost the 900Gb I had with no problem (great thing to use Bootcamp, never imagined it will be this useful).
    So my question is, WHATS WRONG? The hard drive? the logic board? the fan? I need to know in order to buy the replacement. I have no warranty anymore and would like to fix it myself.
    Please help me understand what is going on

    RESOLUTION:
    I erase the drive completely following the security measure "Zero Out Data" and then reformat the drive. According to what I read, by following the zero out data procedure, the computer checks the drive and isolates possible structural errors in the disk ( don´t know if it is true) I had everything already backup through Windows as explained originally.
    After I reformat the drive everything is working OK. I have done the tests again (Disk Utility and Disk Warrior) that showed the drive to be in perfect order. So probably the error was caused by lack of sufficient free space in the disk ( 30 highly fragmented GB for a 1TB computer) that made OS X incapable of handling new information and was deleting key elements (?) in short a fragmented and saturated disk. However still do not understand why most tests could not complete or showed info relating to structural damage and now the same tests are saying everything is OK...
    So if anyone goes through something similar, try erasing and formatting the drive, see how it goes.
    Thank you very much baltwo!

  • FF 3.15 worked perfect with Snow Leopard. But everything after that, till FF 8, crashes left and right. On Facebook. And on ALL different language websites. Should I stop using FF? Heard Chrome is good.

    [Edit: It should be FF 3.5. I mistyped FF 3.15]
    I have MAC OSX Snow Leopard. 10.6.8.
    FF 3.5 [apologies; I mistyped 3.15] worked perfect with Snow Leopard. NO problems.
    But '''everything''' after that, till FF 8, crashes left and right.
    Facebook crashes the most within few short seconds.
    And NO different language websites even open.
    I read online to use Safe Mode and try. I did. No change.
    I read online to reset font cache or or something using atsUtil from the Terminal. I did. Nothing.
    It is super frustrating. Same problem in my wife's Mac as well.
    Should I stop using FF? I heard Chrome is good.
    Try any of these news paper sites:
    www.prothom-alo.com
    www.dailyjanakantha.com
    www.Facebook.com
    Even ESPN videos quit randomly. But YouTube videos are fine!
    Potheek Aami.

    All your add-ons and plugins are up to date?
    There has been a recent bug with Apples Java update:
    https://bugzilla.mozilla.org/show_bug.cgi?id=700835
    I have similar issues, although most of the time the browser only freezes for a short time.

  • My macbook pro doesn't load facebook (although the internet works perfectly for other sites).

    I've tried three different browsers (safari, firefox, chrome)
    Here is a copy-paste of the ping to facebook
    Ping has started…
    ping: cannot resolve https://www.facebook.com: Unknown host
    Does anyone have any idea what the problem could be? I've got no network software running in the background (other than dropbox), and I don't think I've set up a custom DNS... Not really sure how to check what it is. Does anybody have this problem?
    P.S This is an on and off thing, sometimes facebook loads, sometimes it doesn't. Using computers connected to the same WiFi, I can freely access Facebook with no issues.

    I had the same problem, and I just fixed it. See this thread-https://discussions.apple.com/thread/4612888?start=0&tstart=0
    Let me know if this works!

  • SQL Query Works in MS SQL Server 2008 but not when using Database Toolkit

    I have this SQL query:
    DECLARE @DataTypeTable TABLE (
    Name varchar(128),
    TypeID INT)
    --Add comma delimeted data type names to temp table
    INSERT INTO @DataTypeTable (Name)
    SELECT * FROM WhatWeShouldDoRead.func_Split(@DataTypeTrimmed,',')
    SELECT Name FROM @DataTypeTable
    Which takes a comma delimited string and returns the string as a table.  It works correctly in Microsoft SQL Server Management Studio.  When I run this as a stored procedure  I get back nothing.  There are no errors, SQL or otherwise.  I've verified that I am connected to the correct database and that the stored procedure is loaded by changing the no error string that is reported from this stored procedure (that code is not shown in the above example).  Has anyone seen this problem before, or have any experiance with SQL/Labview interfaces to tell me what I'm doing wrong?
    Thanks in advance. 
    Solved!
    Go to Solution.

    After doing some more research it appears that the database toolkit cannot interface with any table results from any type of temp table.  It may have to do with the fact that MS SQL 2008 stores temp tables in a seperate database (tempdb) and not the database you are currently connected to.  See this link for a good artical on temp tables:
    http://databases.aspfaq.com/database/should-i-use-a-temp-table-or-a-table-variable.html
    If possible,  I'd like a someone to prove me wrong, but for now will have to settle for exporting the contents of a temp table through a string.

  • SQL query works in SSIS, SSMS/SQL server but fails in deployment?

    The SQL query in my execute sql task is correct. It works in SSIS and SSMS also. But, it fails when I deploy my package. The error -
    Code: 0xC002F210
    Source: MySQLTask Execute SQL Task Description: Executing the query
    "UPDATE [MyTable] SET MyCol..."
    failed with the following error: "Invalid object name 'MyTable'.".
    Possible failure reasons: Problems with the query "ResultSet" property
    not set correctly parameters not set correctly or connection not established
    correctly.
    What could be the reason for this error and how do I fix it ?
    Thanks.

    Does the database have the object [MyTable]?  What is the default schema for the user?  Is the table (assuming it exists) in the default schema for the user?
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com
    Yes, the DB has the object [MyTable]. The default schema is dbo, as given by SELECT SCHEMA_NAME()
    The table is in the default schema for the user as per - 
    SELECT * 
    FROM INFORMATION_SCHEMA.TABLES 
    WHERE TABLE_SCHEMA = SCHEMA_NAME() 
    AND  TABLE_NAME = 'MyTable'

  • FONT ISSUES: Fonts work perfectly in Indesign 5.5 but not when dragged into CC.

    When I open a file using Indesign 5.5, it is absolutely perfect. When I drag it to Indesign CC, it tells me that there are fonts missing. Then I cannot update those fonts because they dont appear. My font management software (Suitcase Fusion) is completely up to date. It has become a big problem for us.
    Thanks!

    Problem solved. Thanks Ken Rice, tht obviously helped.
    Peter, yes, we had checked that yesterday, thanks.
    Willi, That was plan b according to Adobe support. I'm pretty sure that packaging the file while in 5.5, then opening in CC would have worked.
    Plan A (from Adobe support) worked which was copying the necessary fonts from the system (or from packaging the file in 5.5), into The fonts foler located in "Applications-->Adobe InDesign CC-->Fonts".
    Thanks all for your help!

  • Why are flash games not working properly on Firefox, while they work perfectly on other browsers?

    I own a MacBook os x 10.5.8 Intel core duo.
    My problem started a few weeks ago, I tried playing a flash game, first it came up that i didnt have flash, which I did, so I ran an update but I already had the latest version.
    I gave up on the games on that page and went to newgrounds.com, but turns out everytime I try to play a game the controls wont work properly on any game.
    I thought it might be my flash, so I went to chrome and played the same game, no problems, to opera, no problems, to safari also no problems. So the problem is my firefox and the flash plug in? I already uninstalled it and re installed it, downloaded it again and followed every piece of advice I could find about this, nothing works.
    I appreciate some help with this matter, I like working with firefox, wouldnt want to change to other browsers.

    Hi gorgonzola357, there are some platform-specific differences between Windows 7 and MacOSX that may be relevant.
    Have you tried disabling the new protected mode in Flash 11.3, since that feature is currently being debugged? See this support article from Adobe under the heading "Last Resort": [http://forums.adobe.com/message/4468493 Adobe Forums: How do I troubleshoot Flash Player's protected mode for Firefox?]

  • HT1338 I have unsuccessfully tried for a month to fix phone is disabled I have tried everything I have 2 iPhones with 2 separate phone numbers my tablet and 1st phone works perfectly this other phone is totally disabled only screen says for emergency call

    Every thing I have seen or heard to fix this unable to non disable phone can't get in except for emergency calls in order to get to go to try anything. Please advise what to. I am not a computer geru but I can generally fix problems this I can't. THANKYOU to anyone with any simple solution. I have ipad and 2 iPhones 2 work the third will not due to diable find my iphone says offline.

    Go here: https://discussions.apple.com/message/13114340#13114340
    Phil

Maybe you are looking for