ORA-00933 with an update
Hello worldI get an error ORA-00933 when running this code:
UPDATE type_composant
set nom='RE',
libelle='Réglementaire',
process_export='YIYZD',
lien='0',
lien_technique='0',
lien_reglementaire='1',
lien_squelette='0',
lien_demande='0',
lien_pj='0',
id_type_comp_rattach=null,
id_type_comp_grp=null,
imp_comp=0,
imp_lien=0,
is_spec=1,
imp_sque=0,
spec_table='reglementaire',
spec_req='SELECT A.CDREGL AS CDREGL,
A.CDSTCO AS REPERTOIRE,
C.LILONG AS LIB_REP,
A.CDCODE AS CODE,
B.LIBLON AS LIB_CODE
FROM HR.ZD00 A,
HR.ZD01 B,
HR.DI31 C
WHERE A.NUDOSS = B.NUDOSS
AND A.CDSTCO = C.VACDST
AND C.CDLANG = 'F'
AND B.CDLANG = 'F'
AND CDSTCO IN ('DS9','UPA','WS0','UGQ','UHU','DSJ','WF0','DRX','G01','DS3',
'GCP','UAA','G02','G00','DRH','DRB','WAA','DRE','WR2','DRC','DRJ','GPR','DRM',
'WA0','GCO','UIG','UIQ','DRF','WG2','XXX','UCB')',
comp_web='0'
where id_type_comp='36';
And here is the error I got:AND C.CDLANG = 'F'
*
ERROR at line 28:
ORA-00933: SQL command not properly ended
I don't know if it's from the SELECTION, and I think that the syntax is good.Any help would be nice!
Andalusians
Published by: Guich may 11, 2011 11:04
Published by: Guich may 11, 2011 11:04
And with tabs, it would be more readable:
UPDATE type_composant
set nom='RE',
libelle='Réglementaire',
process_export='YIYZD',
lien='0',
lien_technique='0',
lien_reglementaire='1',
lien_squelette='0',
lien_demande='0',
lien_pj='0',
id_type_comp_rattach=null,
id_type_comp_grp=null,
imp_comp=0,
imp_lien=0,
is_spec=1,
imp_sque=0,
spec_table='reglementaire',
spec_req='SELECT A.CDREGL AS CDREGL,
A.CDSTCO AS REPERTOIRE,
C.LILONG AS LIB_REP,
A.CDCODE AS CODE,
B.LIBLON AS LIB_CODE
FROM HR.ZD00 A,
HR.ZD01 B,
HR.DI31 C
WHERE A.NUDOSS = B.NUDOSS
AND A.CDSTCO = C.VACDST
AND C.CDLANG = 'F'
AND B.CDLANG = 'F'
AND CDSTCO IN ('DS9','UPA','WS0','UGQ','UHU','DSJ','WF0','DRX','G01','DS3',
'GCP','UAA','G02','G00','DRH','DRB','WAA','DRE','WR2','DRC','DRJ','GPR','DRM',
'WA0','GCO','UIG','UIQ','DRF','WG2','XXX','UCB')',
comp_web='0'
where id_type_comp='36';
According to this, you use (') quotes by quotation marks, you must use two to make it work:
UPDATE type_composant
set nom='RE',
libelle='Réglementaire',
process_export='YIYZD',
lien='0',
lien_technique='0',
lien_reglementaire='1',
lien_squelette='0',
lien_demande='0',
lien_pj='0',
id_type_comp_rattach=null,
id_type_comp_grp=null,
imp_comp=0,
imp_lien=0,
is_spec=1,
imp_sque=0,
spec_table='reglementaire',
spec_req='SELECT A.CDREGL AS CDREGL,
A.CDSTCO AS REPERTOIRE,
C.LILONG AS LIB_REP,
A.CDCODE AS CODE,
B.LIBLON AS LIB_CODE
FROM HR.ZD00 A,
HR.ZD01 B,
HR.DI31 C
WHERE A.NUDOSS = B.NUDOSS
AND A.CDSTCO = C.VACDST
AND C.CDLANG = ''F''
AND B.CDLANG = ''F''
AND CDSTCO IN (''DS9'',''UPA'',''WS0'',''UGQ'',''UHU'',''DSJ'',''WF0'',''DRX'',''G01'',''DS3'',
''GCP'',''UAA'',''G02'',''G00'',''DRH'',''DRB'',''WAA'',''DRE'',''WR2'',''DRC'',''DRJ'',''GPR'',''DRM'',
''WA0'',''GCO'',''UIG'',''UIQ'',''DRF'',''WG2'',''XXX'',''UCB'')',
comp_web='0'
where id_type_comp='36';
Nicolas.
Tags: Database
Similar Questions
-
ORA-00933 with the valid request
During some tests with valid Oracle 12 c, I encountered the following problem:
Environment:
CREATE TABLE( adressen2)
ADRID NUMBER (10) ALWAYS AS IDENTITY GENERATED,.
persid NUMBER (10) NOT NULL,
Strasse, VARCHAR2 (50 CHAR).
TRO VARCHAR2 (50 CHAR),
Land NUMBER (5),
Please VARCHAR2 (8 CHAR),
adrtyp NUMBER (2),
Valid PERIOD
);
Insert a few lines without using "valid" (means valid)
INSERT INTO adressen2 (persid, road, please, ort, Land, adrtyp, gueltig_start, gueltig_end)
VALUES (100073, "Hohestraße 37', 50123', 'Burscheid', 7, 11, to_timestamp ('01.07.2014 ',' DD.)") MM YYYY'), NULL);
UPDATE adressen2
SET gueltig_end = to_timestamp ('30.06.2014 ',' DD.) MM YYYY')
WHERE ADRID = 11;
COMMIT;
Connection with SQL * Plus 12.1.0.1.0
SQL > SELECT * FROM adressen2 from the PERIOD OF valid SYSDATE WHERE adrid = 11;
ADRID PERSID STRASSE ORT BUNDESLAND PLZ ADRTYP
---------- ---------- -------------------- ---------- ---------- -------- ----------
11 100073 Scharnhorststrasse 15 07950 11 Triebes
SQL > SELECT * FROM adressen2 ad from the PERIOD OF valid SYSDATE WHERE adrid = 11;
SELECT * FROM adressen2 ad from the PERIOD OF valid SYSDATE WHERE adrid = 11
*
ERROR on line 1:
ORA-00933: SQL not correctly completed command.
So if I omit the table alias everything works fine, but for a real application, this is not enough.
Well, it helps to have the right syntax - check the syntax diagram in the docs:
The alias goes after the flashback query clause.
-
Hello
After changing the Oracle DB pilot one provided with CF Enterprise to Oracle thin JDBC I meet a "Command successfully completed" ora-00933 exceptions. The syntax of SQL ist correct code (runs in SQL * more) and it worked fine before. It seems to be related mainly to insert subquery...
Has anyone an idea what goes wrong?
Are there patches / fixes available? (in collaboration with CF8 Fix2, Oracle 10 g 2, W2k3)
Thanks in advance
This is a confirmed bug and there is no work around.
It affects independent and related sql (cfqueryparam).
It will be released as part of the next update rollup (time unknown)
http://zacster.blogspot.com/2008/01/my-CF-Oracle-problem-ora-00933-was.html
-
Create_entailment fails with ORA-00933
Hi all
When I try to launch the creation of a new commitment,
EXECUTE sem_apis.create_entailment('my_entailment', sem_models('my_model'), sem_rulebases('owlprime'));
the procedure fails with the following error:
ORA-00933: comando SQL terminato erroneamente ORA-06512: a "MDSYS.SDO_SEM_INF_INTERNAL", line 13518 ORA-06512: a "MDSYS.SDO_SEM_INFERENCE", line 142 ORA-06512: a "MDSYS.SDO_SEM_INFERENCE", line 184 ORA-06512: a "MDSYS.RDF_APIS", line 108 ORA-06512: a line 1 00933. 00000 - "SQL command not properly ended" *Cause: *Action:
I've never experienced this problem when I was working on my 11.2.0.1 instance of my machine to Windows Server 2008 R2, but it happens now that I've migrated to 11.2.0.3. The same command that worked no longer; This happens on the migrated database, as well as on a new database. Also, I checked MDSYS. RDF_PARAMETER and SEM_VERSION 11203 is valid.
I did some research, but I have not found anything on this topic... and the error message is not to help me trying to understand what goes wrong.
Any suggestion?
Hello
Are there changes to the character set, the setting of the nls, etc. with the new database?
Before running the entailment create command, that help to run the first next?
SQL > ALTER SESSION SET NLS_NUMERIC_CHARACTERS ='.,';
Thank you
Zhe Wu
-
Hello
You can see my PL/SQL:
SET VERIFY OFF; SET TIMING ON; WHENEVER SQLERROR EXIT BYEBYE; prompt >>> Début mise à jour F0005D DECLARE CURSOR ORIGIN IS SELECT * FROM F0005; TYPE ARRAY_T IS VARRAY(8) OF VARCHAR2(2); ARRAY ARRAY_T := ARRAY_T('P', 'G', 'RU', 'I', 'S', 'E', 'DU', 'F'); BEGIN FOR ORI IN ORIGIN LOOP FOR I IN 1..ARRAY.COUNT LOOP BEGIN INSERT INTO F0005D (DRSY,DRRT,DRKY,DRLNGP,DRDL01,DRDL02) VALUES (ORI.DRSY,ORI.DRRT,ORI.DRKY,ARRAY(I),ORI.DRDL01,ORI.DRDL02); EXCEPTION -- Traduction déjà existante WHEN DUP_VAL_ON_INDEX THEN UPDATE F0005D SET DRDL01=ORI.DRDL01,DRDL02=ORI.DRDL02 WHERE ORI.DRSY=DRSY,ORI.DRRT=DRRT,ORI.DRKY=DRKY,ARRAY(I)=DRLNGP; END; END LOOP; END LOOP; commit; END; / prompt ============= FIN MISE À JOUR F0005D ============= EXIT;
And I have this error message:
>>> Début mise à jour F0005D Commit Erreur commençant à la ligne 7 de la commande : DECLARE CURSOR ORIGIN IS SELECT * FROM F0005; TYPE ARRAY_T IS VARRAY(8) OF VARCHAR2(2); ARRAY ARRAY_T := ARRAY_T('P', 'G', 'RU', 'I', 'S', 'E', 'DU', 'F'); BEGIN FOR ORI IN ORIGIN LOOP FOR I IN 1..ARRAY.COUNT LOOP BEGIN INSERT INTO F0005D (DRSY,DRRT,DRKY,DRLNGP,DRDL01,DRDL02) VALUES (ORI.DRSY,ORI.DRRT,ORI.DRKY,ARRAY(I),ORI.DRDL01,ORI.DRDL02); EXCEPTION -- Traduction déjà existante WHEN DUP_VAL_ON_INDEX THEN UPDATE F0005D SET DRDL01=ORI.DRDL01,DRDL02=ORI.DRDL02 WHERE ORI.DRSY=DRSY,ORI.DRRT=DRRT,ORI.DRKY=DRKY,ARRAY(I)=DRLNGP; END; END LOOP; END LOOP; --commit; END; Rapport d'erreur : ORA-06550: Ligne 16, colonne 83 : PL/SQL: ORA-00933: la commande SQL ne se termine pas correctement ORA-06550: Ligne 16, colonne 10 : PL/SQL: SQL Statement ignored 06550. 00000 - "line %s, column %s:\n%s" *Cause: Usually a PL/SQL compilation error. *Action: Elapsed: 00:00:00.017
What is the problem please?
Thank you.
Take a look at the where clause in your update statement. You bind the predicates of equality with commas: you and probably average.
More importantly if: you are using online = slow-by-slow cursors.
Why you don't do this as a MERGE statement? It will be much faster.
-
Hi all, when I try to perform under query I get PL/SQL: ORA-00933: not correctly completed SQL command can someone tell where I'm wrong?
Thanks in advance!DECLARE V_HEADER_ID NUMBER; V_GROUP_ID NUMBER; BEGIN select regal.regal_inv_landed_cost_seq.nextval.NEXTVAL into V_GROUP_ID from dual ; select regal.regal_inv_landed_cost_seq.nextval.currval into V_HEADER_ID from dual ; INSERT INTO rcv_transactions_interface ( INTERFACE_TRANSACTION_ID, HEADER_INTERFACE_ID, GROUP_ID, TRANSACTION_TYPE, TRANSACTION_DATE, PROCESSING_STATUS_CODE, PROCESSING_MODE_CODE, TRANSACTION_STATUS_CODE, QUANTITY, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, RECEIPT_SOURCE_CODE, DESTINATION_TYPE_CODE, AUTO_TRANSACT_CODE, SOURCE_DOCUMENT_CODE, UNIT_OF_MEASURE, ITEM_ID, UOM_CODE, EMPLOYEE_ID, SHIPMENT_HEADER_ID, SHIPMENT_LINE_ID, TO_ORGANIZATION_ID, SUBINVENTORY_ID, FROM_ORGANIZATION_ID, FROM_SUBINVENTORY ) SELECT regal.regal_inv_landed_cost_seq.nextval, --Interface_transaction_id V_HEADER_ID, --Header Interface ID V_GROUP_ID, --Group ID 'Ship', --Transaction Type sysdate, --Transaction Date 'PENDING', --Processing Status Code 'BATCH', --Processing Mode Code 'PENDING', --Transaction Status Code lc.quantity_received, --Quantity lc.last_update_date, --last update date lc.last_updated_by, --last updated by sysdate, --creation date lc.created_by, --created by 'INVENTORY', --Receipt source Code 'INVENTORY', --Destination Type Code 'DELIVER' , --AUT Transact Code 'INVENTORY', --Source Document Code msi.primary_uom_code , --Unit Of Measure msi.inventory_item_id, --Item ID msi.primary_unit_of_measure, --UOM COde regal.regal_inv_landed_cost_seq.curval, --Shipment Header ID regal.regal_inv_landed_cost_seq.curval, --SHipment Line ID 82, --To Organization ID 'Brooklyn', --Sub Inventory ID 81, --From Organization 'Vessel' --From Subinventory FROM regal.regal_inv_landed_cost_tab lc, mtl_system_items msi WHERE lc.organization_id = msi.organization_id AND lc.inventory_item_id = msi.inventory_item_id END; ERROR at line 70: ORA-06550: line 69, column 56: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 7, column 1: PL/SQL: SQL Statement ignored ORA-06550: line 70, column 4: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: ( begin case declare end exception exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted
These lines:
Sandy wrote:
select regal.regal_inv_landed_cost_seq.nextval.NEXTVAL into V_GROUP_ID from dual ; select regal.regal_inv_landed_cost_seq.nextval.currval into V_HEADER_ID from dual ;
Probably should be this instead:
select regal.regal_inv_landed_cost_seq.NEXTVAL into V_GROUP_ID from dual; select regal.regal_inv_landed_cost_seq.currval into V_HEADER_ID from dual;
-
ORA-00933 sql is not properly completed.
Dear members,
I have the following query in Report Builder 10g,
Select a, b, c
FROM table1
where a = 12
& p_whr_fy & p_whr_supp & p_whr_bt & p_whr_mat_spec & p_whr_lc_num & p_whr_cotton & P_WHR_LOC_ID
Union of all the
Select a, b, c
from table2
where a = 12
& p_whr_fy & p_whr_supp & p_whr_bt & p_whr_mat_spec & p_whr_lc_num & p_whr_cotton & P_WHR_LOC_ID
Here I used the lexical settings, and with spaces in the lines its ok but when trying to change the query / remove spaces in the lines, it gives the error.
ORA-00933 sql not successfully completed
With regard to:Hello
Check your default values for substitution variables, at least one of them is not empty and causes an error.
kikolus -
Has anyone lost their 4G with the update?
I have an iPhone with T-Mobile 5. I have updated to iOS 10.0.1 slightly more 2 weeks ago (Wednesday, 14 September). I had zero problems with the update until 2 days ago (Wednesday, 28 September). Since two days ago, I don't have 4 G service. It works now only EDGE. For T-Mobile users not, EDGE is the network used when 4G isn't available (similar to 1 x the Sprint). It basically lets you helpless with the data if you are not able to be on wifi. Page load times are like being in 2005. Too slow for the cards to work, checking e-mail takes several minutes, etc.
I tried to reset network settings, update the carrier settings, turning the phone on & off, turning 'Activate LTE' turn off, but also to talk with the service the customer. T-Mobile says I'm connected to all the right tricks for 4 G and does not know why I don't get 4 g. I also tried updating to 10.0.2 yesterday evening hoping that there was a difficulty with it, but it was not. Has anyone else had this problem in the last days (with or without T-Mobile)? It worked fine for the first 2 weeks of the update.
Maybe (or maybe not) related to the following: http://www.macrumors.com/2016/09/29/verizon-iphone-7-connectivity-problems/
-
With the updated 31.4.0 version - demand for return confirmation and email send priority disappeared.
How can I access them now?Thank you!
Did? I find in the title bar of the alternatives
-
with the update of daily Thursday (Australia) after update owned couldn't boot received message "could not find xpcom.
I then restored by day sauvegardΘ installed upgrading again every day would not restart with the same message
I tried again on Saturday you have the same problem
I'm now ignoring the update message that is very annoying because he wants me to update dailyThe bug in question should be solved with a daily update of today. However, I agree with the recommendation to go with 31.0 once it comes out next Tuesday, or at least to use the beta versions (once per cycle) as a compromise between stability and get the latest features and updates to the platform.
-
According to my info in Firefox I have Firefox 15.0.1 & it is up-to-date.
I can no longer use Firefox with all my saved bookmarks and familiarity that Norton Security programs I got Comcast no longer work with Firefox. Whenever I use it, it says that my safety is compromised. I don't have any protection. Currently I use internet for purchases, that I count on privacy and security, so I now use Sarari, which I don't like at the well.Using Firefox, I Googled, found the info that says everything I need to do is to upgrade my Norton with Live Update and then restart Firefox. Do it, but it doesn't help, still has the same lack of protection.
See [935636/questions/935636] [MAC] norton does not support firefox 15
-
Yet WT8-B-102 - experience with Win10 updated?
Hello
Anyone has any experience with Win10 update for this model? Given many discussions here and my own experiences with update and wireless network card disconnected after (the reset default values to use again), I'm a little worried about the update.
It was a month ago, so the two sides (Toshiba/MS) had time to provide updates of patches & drivers. So, I'm curious - is the update secure now? All things work out of the box (WLAN, camera) etc. ?
Concerning
HelloAnyone has any experience with Win10 update for this model? Given many discussions here and my own experiences with update and wireless network card disconnected after (the reset default values to use again), I'm a little worried about the update.
It was a month ago, so the two sides (Toshiba/MS) had time to provide updates of patches & drivers. So, I'm curious - is the update secure now? All things work out of the box (WLAN, camera) etc. ? I have
Concerning
Hello.
I've updated WT8 my wife a week with no problems at all.
Take note, however, it takes a LOT of time. Set aside the best part of the day.
That's what I did on the advice from my research.
Plug your tablet in socket.
Check Windows update for new updates and install them. It is the same for all the other programs that you favor.
Uninstall all malicious programs you may have installed (compatibility issues)I also disabled my anti virus program.
A scope of hand a 8gig USB if you want to create the boot USB installation.
You don't need to do it immediately as you can do it at a later date.During the upgrade, you will be asked if you want to upgrade this computer or do a clean install. I chose the update this computer and transfer my settings (or words to that effect).
If you want to take the path of own tinstallation, you must first upgrade your operating system current version OS 10 and then when this has been done you need to go through the entire procedure using the boot USB that you created earlier or to creat now.
The main thing to remember is to be patient, very patient, as the upgrade almost takes care of it's self. Read all the instructions carefully before you click.
The keyboard that you should select if requested we international. I inadvertently clicked on something else and more later found that some keys on my keyboard had the mind of their own, I got that without too much trouble
Go for it, I think you'll like the new OS 10. The only downside for the new OS, it's that you may incounter problems driver with installed programs. I think I can live with the Kindle.
I hope it is of some
-
Hey what happened to my skin? With this update, it disappeared.
Hey what happened to my skin? With this update, it disappeared.
See:
-
I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I come back in all the Quicken file and restore from time Machine before I downloaded the update to do, I need to restore the entire computer?
Yes, you can just restore this file or application. Use Time Machine to back up or restore your Mac - Apple Support
-
Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code
Take a look at this article as it addresses this error code. Mike - Engineer Support Microsoft Answers
Visit our Microsoft answers feedback Forum and let us know what you think.
Maybe you are looking for
-
In Outlook Express, my E-mail address with photos will not show the photos.
When I transfer the mail, I can see the peak and then in the preview of the shipment. How to fix? MY INCOMING EMAILS DO NOT SHOW PHOTOS INCLUDED IN THE MAIL UNLESS I PASSES, VIEWABLE IN PREVIEW! HOW TO FIX?
-
Please help mymy Windows 7 ultimate damaged and I try to install new using usbnow, when I get to the disk selection step, I find not a disk or a partition!What is the problem?Please help me[Laptop model Hp compaq 6518b (GM188UCRABG)]
-
Hi blackBerry smartphones day call me
Hi every time I update my phone to the new blackberry Messenger it continues to flow to the top with the words combining what I do
-
ScrollBar changed on Toshiba Satellite L645
Original title - Help! I have a Toshiba Satellite L645, and out of nowhere my scrollbar change this: http://thecustomizewindows.com/2010/12/how-to-remove-the-scroll-bar-on-the-start-menu-programs/ this: http://msdn.microsoft.com/en-us/library/ms92621
-
Hello I need to confirm what is the name WWN should we use primary and secondary targets during the SAN configuration when you configure startup strategy. I think that this should be the WWN of SAN storage controllers So what needs to be configured h