I am getting error from keyword not found where expected
I am unable to find the error in the following query... its giving from key word not found where expected
select ms.state_name,sum(decode(mp.status,'12',1,0)) cnt_active,sum(decode( mp.status,'12',mh.chargesheet_name,0)) sum_active,
sum(decode(mp.status,'18',1,0))) cnt_inactive, sum(decode( mp.status,'18',mh.chargesheet_name,0)) sum_inactive,
sum(decode(mp.status,'',1,'5',1,'16',1,'17',1,0)) cnt_expired, sum(decode( mp.status,'',mh.chargesheet_name,'5',mh.chargesheet_name,'16',mh.chargesheet_name,'17',mh.chargesheet_name,0)) sum_expired
from mst_pindetails mp,mst_batchno mb,mst_chargesheet_hdr mh,mst_state ms where mp.swhbatchcode=mb.swhbatchcode and mb.chargesheetno = mh.chargesheet_code
and trim(ms.state_id) = mb.statecode group by state_name
ok working no problem
Similar Messages
-
'FROM keyword not found where expected'error while Inserting into Text file
Hi,
I have created a simple interface for testing purpose. All it has to do is to Read the data from a Source Text file and put it into another text file (exactly the same headers as that of source) ...
I am using Oracle as my staging area.
But at 'Insert column Header' Stage, it gives me a warning 'FROM keyword not found where expected' and when it goes to the next step 'Insert Rows' it gives me the same error 'FROM keyword not found where expected' and aborts its execution.
I checked the query for insertion and found nothing wrong in it (FROM Statement is just where it is expected, that is) but somehow its not working.
Can somebody help me out as i have done it before on other Installations and dont know why it is occuring that too for the simplest thing in ODI ...
Regards,
Nitesh.Probably you missed the concat operator.
select rpad(nvl(lu_parid,' '),1,19)|| v_comma ||
rpad(nvl(lu_class,' '),1,3)
from temp_te07 -
ORA-00923:FROM KEYWORD NOT FOUND WHERE EXPECTED
I have nade a oracle ODBC TO MS-EXCEL.While writting query in microsoft query editor I got the error msg
ORA-00923:FROM KEYWORD NOT FOUND WHERE EXPECTED
The following query runs fine on sql plus editior
wht could be the reason ,pls guide me
select ORDR_H.ORDERDT,ordR_h.orderno,ordr_h.partycd "CODE",
DECODE (PARTY_M.PARTY_TY,1,'TRADE',2,'NTR'),
party_m.party_n1,c1.citee_nm "Stockist Place",
c.citee_nm "CONSIGNEE PLACE"
from citee_m c,citee_m c1,ordr_h,ordr_d,party_m
where
ordr_h.orderno=ordr_d.orderno
and c.citee_cd=ordr_h.destncd
and c1.citee_cd=party_ct
and ordr_h.partycd=party_m.party_cd
and ordr_h.orderdt>='01-jan-09'
order by 2,3One thing that comes to mind is that ODBC does not allow Oracle-specific syntax.
-
Getting an error -from keyword not found where needed.
plzz reaply asap!!!
what is wrong with the query???
SELECT
aaa.user_id
aaa.ispeak,
SUM (round(aaa.aduration_seconds/decode(aaa.ispeak,0,offpeakpulse,peakpulse))*decode(ispeak,0,offpeakpulse,peakpulse)) DURATION,
srt.circle,
srt.package_id ,
srt.peak_rate ,
srt.offpeak_rate ,
srt.bst_plantype ,
srt.free_value ,
srt.peak_pulse ,
srt.offpeak_pulse ,
srt.pulse_unit ,
srt.rating_unit
FROM aaa_sessions aaa, subscriber_rate_tab srt
WHERE aaa.user_id = srt.externalid(+)
AND (aaa.start_time_utc between srt.activedt and srt.inactivedt)
AND (aaa.end_time_utc between srt.activedt and srt.inactivedt);That's why formatting is important, you missed comma in the very first line. aaa.user_id. Always try to write formatted code, for example:
SELECT aaa.user_id,
aaa.ispeak,
SUM(round(aaa.aduration_seconds /
decode(aaa.ispeak, 0, offpeakpulse, peakpulse)) *
decode(ispeak, 0, offpeakpulse, peakpulse)) DURATION,
srt.circle,
srt.package_id,
srt.peak_rate,
srt.offpeak_rate,
srt.bst_plantype,
srt.free_value,
srt.peak_pulse,
srt.offpeak_pulse,
srt.pulse_unit,
srt.rating_unit
FROM aaa_sessions aaa, subscriber_rate_tab srt
WHERE aaa.user_id = srt.externalid(+)
AND (aaa.start_time_utc between srt.activedt and srt.inactivedt)
AND (aaa.end_time_utc between srt.activedt and srt.inactivedt);Now there is another thing about you group function SUM. But I am leaving that up to you sort it out. -
2.1 EA 1: ORA-00923: FROM keyword not found where expected
Hi,
there is a simple table which results in this error when opening the data tab. All other tabs are ok. In 1.5 the table can be opened with the data tab.
Columns:
ID NUMBER No 1
PARENT_ID NUMBER Yes 2
NODE_NAME VARCHAR2(50 BYTE) Yes 3
KREDFILIALE VARCHAR2(50 BYTE) Yes 4
VALID_FROM DATE Yes to_date('20081001','yyyymmdd') 5
VALID_TO DATE Yes to_date('20090930','yyyymmdd') 6
LEVEL NUMBER(2,0) Yes 7
LIEFERANTENNR VARCHAR2(50 BYTE) Yes 8
SCGROUP NUMBER Yes 9
Regards,
Juergenlogged Bug 9000729 - ea1: otnforum: datatab fails to open for a reserved keyword column name
-Raghu -
[SOLVED]getting "error 15: file not found!"
Hi all, I'm new to Arch and linux in general but i've managed so far and I'm really enjoying it.
I'm dual booting Arch and Vista.
Anyway, everything was working fine until I decided that I wanted to stop using GRUB as my bootloader and I used a program called EasyBCD and this guide http://apcmag.com/how_to_dualboot_vista … htm?page=4
Now, I get "Error 15: File not found!" when i try to boot into arch. I've looked through countless other threads and google results with people with the same problem but none of the solutions in those threads helped me.
here's my menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
# Linux Grub
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
# general configuration:
timeout 3
default 2
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
# (0) Arch Linux
title Arch Linux
root (hd0,2)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/6e30f601-1196-41bf-b9f3-063434fa0c45 ro
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,2)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/6e30f601-1196-41bf-b9f3-063434fa0c45 ro
initrd /boot/kernel26-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
Last edited by tooeasyforkevin (2009-07-13 06:48:38)ok, try doing it the manual way by booting the cd as if you where to do an installation where it prompts you to log in as root.
Once your logged in as root do
grub
and you will get the grub prompt
grub>
then the at the grub> prompt do
grub> root (hd0,2)
that tells grub it will find the boot files on the 3rd partition of the 1st hard drive. Then,
grub> setup (hd0)
to setup the grub bootloader on the MBR of the first hard drive.
If all goes well you should see something like 'Checking if "/boot/grub/stage1" exists... yes '.
grub> quit
and reboot. -
I am having a terrible time trying to convert my QT file to an AVI file so I can use in PowerPoint. I am getting Error 43 File not Found, any suggestions?
Hi Jenna,
The error your getting suggests a file path problem.
How are you embedding the movie in PP and where is the movie file located relative to the PP file? Are you getting this error within PP when the slide containing the embedded video is displayed?
If you embed a movie and then move it or change its name then PP will generate this error.
Alastair. -
Calendar Server installation gets error "libnmspr20.dll not found"
Calendar Server installation gets error "libnmspr20.dll not found"
<P>
When installing Calendar Server 3.5 on NT near the end an error
occurs: "libnmspr20.dll not found " and then it will exit the setup
without completion.
This is a bug because it is looking for the libnmspr20.dll in the
system path but the Calendar Server installation has left it in a
temp directory. This does not occur if the Netscape Messaging Server
has been previously installed on the same host. A workaround is, when
the error message displays, you DON'T press ok, but search your
computer for the missing file (usually found in temp-directory).
You then copy the file to a directory in your system path. Now you
can press the OK button and the installation will fail. Re-install
the calendar server, this time the installation won't fail.Installing Latest JRE on NT4 sp6a produces the same error:
InstallShield DLL Custom Action:
File 'C:\TEMP\RegUtils.dll' can not be found. Make sure the file is on the target system or installed already.
I searched www.installshield.com since the error is an installer error and the installer is InstallShield. NO results found there either.
Seems like the installer team needs to brush up on the NT4 platform. -
Getting error "Http 404 not found" while accessing CUCM GUI..
Hi,
Please help um getting error "Http 404 not found" while accessing CUCM GUI. Yesterday it was running fine bt nw its showing dis error.
Please find attached screenshot for ur referance.
Thanks & R's
HarishHi Aaron,
I have restarted dat service bt still the issue is persisting.
Now its showing attached error.
Thanks and R's
Harish -
when i first click on Firefox the URL: www.27yhbnhy6tfgvrbcfre3.com shows up and the error message "Server not Found". but i can connect to any website by just clicking on a bookmark from the toolbar (or typing in a url). this never happened with previous versions of Firefox
A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
* https://support.mozilla.com/kb/Server+not+found
* https://support.mozilla.com/kb/Firewalls
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
When I Update My Nano, I get error message, "file not found"
When I Update My Nano, I get an error message, "file not found, cannot update iPod". I have looked through the manual and tried reinstalling the iTunes program but it still won't update my iPod with music or pictures. PLease help.
Try these basic troubleshooting steps one at a time.
The Five Rs. -
I get error message, server not found every time I use Firefox browser
Every time I open FireFox I get this message, server not found, can't find the server at www.s.com How do I get rid of that message? Thanks.
See:
*https://support.mozilla.com/kb/Server+not+found
*https://support.mozilla.com/kb/Firewalls -
Getting error : fileIOException: directory not found
i m getting the error net.rim.device.api.io.file.FileIOException: directory not found whn i m saving any media files from watsapp or bbm, also my existing media folder got deleted automatically, so provide a resolution for the same. thnxs
Hello jatin020 and welcome to the BlackBerry Support Community Forums.
Sorry to hear you're experiencing an issue with your media.
This error indicates an issue with your software and a reinstallation of the software will need to be done.
Using BlackBerry Desktop Software, back up your data and follow the steps in KB11320 How to perform a clean reload of the BlackBerry Device Software for Windows (or if you use Mac see KB19915 Perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software on a Mac computer)
After the reload is complete, try to save a media file. Are you now able to do so?
Thank You.
-HMthePirate
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)! -
Constantly keep getting error 404, server not found
Very frequently I keep getting the error message 404, server not found. This problem mainly comes up after I have been on the computer for a while, and I leave the web site that I'm viewing on for some time. I then return to the computer some time later, and when I try to refresh the page to update the info on the page (example: a weather site or yahoo stock market info) I keep getting, 404 server not found. When I try the option: try again, it does nothing to solve the constant problem. The only way I can get back to the web site and see updated info is to start firefox in safe mode. And, that does solve the problem. But why does this problem keep constantly occurring. And, why do I have to constantly have to restart firefox in safe mode to get going again. It would seem firefox should recognize this issue and solve it. I'm using what I believe to be the latest version, 15. Can someone shed some light on this issue? I did not have this problem with my older computer and an old version of firefox, version 3.6. But, since getting a new computer and using a new version of firefox, version 15, this problem constantly appears. Can some one help? Thank you.
Which security software (firewall, anti-virus) do you have?
A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
Do a malware check with some malware scanning programs on the Windows computer.<br />
You need to scan with all programs because each program detects different malware.
Make sure that you update each program to get the latest version of their databases before doing a scan.
*Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
*SuperAntispyware:<br>http://www.superantispyware.com/
*Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
*Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
*Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
*Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
You can also do a check for a rootkit infection with TDSSKiller.
*http://support.kaspersky.com/viruses/solutions?qid=208280684
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked -
Getting error 404 - file not found on ExportPDF site
Hi - whenever I access ExportPDF site, I get an error 404 saying file not found....I am using IE 8.0.7601 version. I can see the page from my mobile device but not from my desktop. HELP!
Hey Mike,
Please ensure that you are signing up at: https://cloud.acrobat.com/exportpdf.
Clear the cache of the browser and then try again.
Have you tried using a different browser? What happens?
Regards,
Anubha
Maybe you are looking for
-
IMessage issues with iPad, none with iPhone?
Hi I just got my wifi iPad 2 today. I already have an iPhone and so do a number of my contacts, so I iMessage with all of them (not regular messaging). However when I go to send them an iMessage from my iPad, it says their cell phone number is not re
-
Adobe acrobat text feild value changing when placing a cursor
Hi, I am using adobe acrobat 9 for printing some letters. I have a pdf document in that there are bundle of letters. In all letter there are some common text fields are existing. Here issue is, the content of first letter values are appearing in all
-
Copying photos from iPhotos to an external hard drive, changes the dates the photo was created
I have the odd query where when I copy photos from iPhoto in to any other folder, whether it's on the mac deskstop or an external hard drive, that the 'date created' on the some of the photos is changed from the date the photo was actually taken to s
-
Custom Employee Number Generation Using Fast Formulas
Hi, I have a requirement to generate custom employee numbers like "EMP100001". we have already created a business group with the setting of Employee number generation as Automatic. but we need to generate custom employee number as Format given above
-
Qosmio X300-15R - Touchpad on/off doesn't work on Windows 7
Hi In the past i have used the Fn+ F9 to stop the touchpad from working (i usualy had a mouse nearby and that works better), now i tried to use it again and it doesn't turn on anymore? Only windows 7 (64bits) has been installed since. what do i have