ORA-06550 : Oracle SqlPlus

saikumarm
declare
doesExists number:=0;
begin
select count(1) into doesExists from tab where tname = 'EOSS2G_GREEN_RLDEP';
if doesExists = 1 
then
    execute immediate 'drop table EOSS2G_GREEN_RLDEP';
    --execute immediate 'create table EOSS2G_GREEN_RLDEP as select * from EOSS2G_RLDEP';
else
    execute immediate 'create table EOSS2G_GREEN_RLDEP as select * from EOSS2G_RLDEP';
end if;
end;
/

The Error Message I am getting is :

PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

& = - + ; < / > at in is mod remainder not rem
<> or != or ~= >= <= <> and or like like2
like4 likec between || multiset member submultiset
Position: 28, Line: 2, Column: 21
SQL: declare
doesExists number:=0
^-- error here -- ORA-06550: line 2, column 21:

I have looked into varied solutions online but still they did not help solve the issue.

Can somebody help me resolve this issue ?

saikumarm

Actually, this particular error is not because of Database but with the platform through which I am working on. I have to explicitly specify sql block separator in the platform in order to commit the above statements.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

ORA-06550 : Oracle SqlPlus

ORACLE : "선택 위치"에서 ORA-06550 오류

oracle-절차에 대한 PLS-00103 및 ORA -06550

Oracle SQL RETURN INTO가 CFQUERY 내에서 실패 함 (ORA-06550 / PLS-00103)

오류 코드 ORA-06550-Oracle에서 문자열 연결 문제

Issue with PL-SQL: ORA-06550

PLSQL 코드 오류-ORA 06550

SQL Oracle 오류 ORA-06550, "SQLDEVBIND1Z_1" 기호가 발생했습니다.

Oracle 및 sqlplus 연결

ORA-06550 : 13 행, 4 열 : PLS-00103 : "UPDATE"발생 ORA-06550 : 15 행, 3 열 : PLS-00103 : 기호 "END"발생

ORA-06550 스토어 프로 시저 오류

System.Data.OracleClient.OracleException : ORA-06550 : 줄 1, 열 7 :

ORA-06550 변경 명령문이 있습니다.

對於 LOOP with group by insert into ORA-06550 Column NOT ALLOWED HERE 錯誤

ORA-02253 sqlplus 제약 오류 질문

SQLplus and Oracle, bad UTF-8 display

ORA-06550 : 12 행, 9 열 : PL / SQL : ORA-00936 : 표현식 누락 ORA-06550 : 9 행, 5 열 : PL / SQL : SQL 문 무시

Oracle PL/SQL 코드가 컴파일되지 않습니다. ORA-06550: line 96, column 3:PLS-00103: 다음 중 하나가 예상되는 경우 "end-of-file" 기호가 발생했습니다.

ORA-06550 : 줄 1, 열 7 : PLS-00201 : 식별자 'PAYMENT_UPDATE'를 선언해야합니다 ORA-06550 : 줄 1, 열 7 : PL / SQL : 명령문 무시

ORA-06550 : 인수의 개수 또는 유형이 잘못되었습니다

식별자는 ORA-06550 및 PLS-00201로 선언되어야합니다.

oci_execute(): ORA-06550: PLS-00306: 잘못된 수 또는 유형의 인수

Oracle SQLPLUS : SPOOL 출력 즉시 플러시

psql 출력과 같은 Oracle sqlplus

Oracle SQLPlus : 줄 번호가없는 에코?

Oracle sqlplus는 어디에 있습니까?

SqlPlus (Oracle) 스풀 형식 문제

Unix의 실행 메시지 Oracle sqlplus

ORA-21561을 제공하는 sqlplus 원격 연결

TOP 리스트

  1. 1

    JSoup javax.net.ssl.SSLHandshakeException : <url>과 일치하는 주체 대체 DNS 이름이 없습니다.

  2. 2

    상황에 맞는 메뉴 색상

  3. 3

    java.lang.UnsatisfiedLinkError : 지정된 모듈을 찾을 수 없습니다

  4. 4

    SMTPException : 전송 연결에서 데이터를 읽을 수 없음 : net_io_connectionclosed

  5. 5

    std :: regex의 일관성없는 동작

  6. 6

    Ionic 2 로더가 적시에 표시되지 않음

  7. 7

    JNDI를 사용하여 Spring Boot에서 다중 데이터 소스 구성

  8. 8

    정점 셰이더에서 카메라에서 개체까지의 XY 거리

  9. 9

    Xcode10 유효성 검사 : 이미지에 투명성이 없지만 여전히 수락되지 않습니까?

  10. 10

    Android Kotlin은 다른 활동에서 함수를 호출합니다.

  11. 11

    SQL Server-현명한 데이터 문제 받기

  12. 12

    Windows cmd를 통해 Anaconda 환경에서 Python 스크립트 실행

  13. 13

    rclone으로 원격 디렉토리의 모든 파일을 삭제하는 방법은 무엇입니까?

  14. 14

    내 페이지 번호의 서식을 어떻게 지정합니까?

  15. 15

    Cassandra에서 버전이 지정된 계층의 효율적인 모델링

  16. 16

    Quickly 프로그램과 함께 작동하도록 Eclipse를 어떻게 설정할 수 있습니까?

  17. 17

    인코더없이 Azure 미디어 서비스 비디오 트림

  18. 18

    WSL 및 Ubuntu, 초기화 파일 이동 방법

  19. 19

    OpenCV에서. C ++ 컴파일러는 간단한 테스트 프로그램을 컴파일 할 수 없습니다. Clang ++ 사용

  20. 20

    마우스 휠 JQuery 이벤트 핸들러에 대한 방향 가져 오기

  21. 21

    ViewModel에서 UI 요소를 비동 시적으로 업데이트하는 방법

뜨겁다태그

보관