100 questions
0
votes
0
answers
35
views
insert statement ORA-00933: SQL command not properly ended [duplicate]
This is the code:
INSERT INTO Assignment (AssignmentID, EmployeeID, TaskID, StartDate, EndDate)
VALUES
(1, 27, 1, '2018-03-01', '2018-03-06'),
(2, 10, 2, '2018-03-01', '2018-03-06'),
...
1
vote
1
answer
491
views
oracle sql 'Alter USER test_user2 GRANT CONNECT THROUGH test_user1 ROLE myTestRole1;' throwing 'ORA-00933: SQL command not properly ended' error
I'm executing the following sql
Alter USER test_user2 GRANT CONNECT THROUGH test_user1 ROLE myTestRole1;
in Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 database and running in to the ...
0
votes
1
answer
2k
views
ORA-00933: SQL command not properly ended- PL/SQL
I am trying to build a complex query, but I am not sure if I am structuring it right, as I am getting the error: ORA-00933: SQL command not properly ended. The error is happening at line 2. Please, ...
0
votes
2
answers
76
views
I keep getting errors when working on this query. The closest I think I got, still returned ORA-00933: SQL command not properly ended
I am learning SQL and can not figure out what I am doing wrong in my code.
Select robot, city, country, count(sponsor.sponsor)
From robot join sponsor on robot.robotid = sponsor.robotid
...
0
votes
2
answers
577
views
ORA-00933: SQL command not properly ended 00933. 00000 - "SQL command not properly ended" *Cause: *Action:
Sorry if my question sounds dumb but I'm relatively new to coding especially in Oracle SQL Developer and really need help. I used to use mySQL. So I'm still a little confused.
Here is my code:
CREATE ...
1
vote
0
answers
461
views
Powershell ORA-00933 Error when executing sql queries from .sql file
I have a SQL file and I'm trying to execute queries in it via PowerShell. But even I can execute one query, I can not when adding that file multiple queries like below.
GRANT SELECT ON table TO user1;
...
2
votes
0
answers
616
views
JDBC error when querying Oracle 11.1 (ORA-00933)
I have searched high and low for answers so apologies if it has already been answered!
Using R I am trying to perform a lazy evaluation of Oracle 11.1 databases. I have used JDBC to facilitate the ...
0
votes
4
answers
1k
views
Inserting multiple rows query failed [duplicate]
INSERT INTO EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO)
VALUES (7499,'ALLEN','SALESMAN',7698,'20-Feb-81',1600,300,30)
, (7521,'WARD','SALESMAN',7698,'22-Feb-81',1250,500,30);
Tried to ...
1
vote
0
answers
262
views
ORA-00933: SQL when I try to refresh a Materialized View
When I try and run the following refresh for a MATERIALIZED VIEW
ALTER materialized VIEW table_name.materialized_view_name refresh FORCE START
WITH trunc(SYSDATE, 'HH24') + 2/24 NEXT SYSDATE + 6/24; ...
6
votes
2
answers
5k
views
Oracle 12.2 - Replacement of NOPARTITION feature
I have Oracle version 12.2.0.1.0
We have generic script which create sequence that need to be reuse for different objects (by renaming sequence name):
CREATE SEQUENCE NAME_SEQ MINVALUE 1 MAXVALUE ...
0
votes
3
answers
2k
views
ORA-00933: SQL command not properly ended when using execute immediate
When I run
SELECT COUNT(*)
INTO l_entry_found
FROM hera.hera_user@iam
WHERE username = docm.eb_key;
without execute immediate it works.
execute immediate'
SELECT COUNT(*) INTO ...
1
vote
4
answers
2k
views
ORA-00933: SQL command not properly ended - Create View - Join
I'm trying to create new view from 2 different table of same schema. This is my query, let me know if I'm missing anything. When I check the syntax it is fine and test it, throws 00933 error.
CREATE ...
0
votes
2
answers
599
views
Oracle SQL Trigger error: ORA-00933
So I'm trying to create a trigger that alters a records timestamp, I have this so far
create or replace TRIGGER job_date_set
AFTER INSERT OR UPDATE OF start_date, closing_date ON jobs
...
0
votes
2
answers
770
views
ORA-00933 SQL command not properly ended
I need to convert MSSQL query to Oracle but end up with SQL command not properly ended.
Here is MSSQL query
SELECT * FROM [dbo].[trade] AS [Extent1]
WHERE EXISTS (
SELECT 1 AS [C1] FROM
[dbo]...
0
votes
2
answers
138
views
Oracle SQL: Find and remove duplicates (same value in different columns)
Oracle SQL: How to find and remove duplicates
I have only read-only access to Oracle (Can use SELECT command only).
Logic: Two users 'A' & 'B' are having same Company Name & First Name
...
1
vote
2
answers
4k
views
SQL/ORA-00933 SQL Command Not Properly Ended
I'm executing the following query:
select count(*),ACTION_DATE from SUMMARY group by ACTION_DATE where NUM_ACTIONS=500;
which is giving me ORA-00933 SQL Command not properly ended and I'm not sure ...
0
votes
1
answer
107
views
How to update a table in Oracle SQL
So trying to update an empty column that I just created with the script below. Whenever I try to run it I get the following error message (Query 1):
ORA-00933: SQL command not properly ended
So I ...
-1
votes
1
answer
2k
views
Oracle Statement doesn't work when put in a procedure
I am new to Oracle and experiencing this problem.
I created a procedure like this:
CREATE OR REPLACE PROCEDURE getArt
as
begin
select ar.artTitle, ar.artContent, ar.DateCreated, ar.artCategory, ...
0
votes
1
answer
147
views
ORA-00933 Error for to_char formatting PLSQL
I have the following codes:
IF nvl(p_value, 0) >= 0 THEN
l_currency_prefix := 'scc.currency_prefix_pos';
l_currency_suffix := 'scc.currency_suffix_pos';
ELSE
l_currency_prefix ...
3
votes
3
answers
33k
views
Oracle ORA-00933: SQL command not properly ended?
I keep getting this error.
How do I solve this problem?
Error:
java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
Code:
<update id="updateProc" parameterClass="rating"&...
1
vote
1
answer
3k
views
I have a weird error...ORA-00933: SQL command not properly ended for APEX sql statement
I am trying to run the following code and I get an ORA-00933 error:
<code> --CODE B
select distinct po_details.po_id,
po_details.po_det_id,
po_details.change_order,
po_details.start_date,
...
0
votes
2
answers
2k
views
sql command not properly ended (where is my mistakes)
I hope receive my answer this time
i wrote below code but don't know where is my mistake
it seem correct i think
this code should insert more than million records into oracle xe
i wrote it by ...
1
vote
1
answer
1k
views
SQL command not properly ended, on an insert/on duplicate [duplicate]
I've isolated my problem down to this code, which is giving me the error message "ORA-00933: SQL command not properly ended" for the on duplicate key line.
I'm trying to insert rows unless they have ...
0
votes
4
answers
2k
views
Join with table and sub query in oracle
I don't understand what is wrong with this query. It is giving me a compile time error of "command not ended properly".
The inner query is giving me four records.
select WGN3EVENTPARTICIPANT....
1
vote
3
answers
5k
views
ora-00933:SQL command not properly ended for update sql statement
I am getting the sql command not properly ended when hiting this line below.
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
String updateQ = "update ...