database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Q&A 3388 게시물 읽기
No. 3388
ORA-06550:,ORA-06550 이런 에러메세지
작성자
007
작성일
2001-03-16 20:40
조회수
3,039

pl/sql로 작성을 했는데 에러가 발생하거든요..

pl이 아닌 sqlplus로 begin,end를 뺀

update문만 실행하면 잘 되는데 왜 ?

update구문을 pl/sql에서 실행하면 안될까요?

 

SQL> begin

2

3 update tloge_count c

4 set logcnt = logcnt+nvl((SELECT sum(cnt)

5 from tloge t

6 where

7 t.userid = c.userid and t.week = c.week

8 and t.ftype = c.ftype and t.rid = c.rid

9 and t.cid = c.cid and

10 t.wdate < to_char(sysdate,'yy/mm/dd')),0)

11

12 end;

13 /

set logcnt = logcnt+nvl((SELECT sum(cnt)

*

4행에 오류:

ORA-06550: 줄 4, 열26:PLS-00103: 심볼 "SELECT"를 만났습니다 다음 중 하나가

기대될 때: ( - +

mod not null others <an identifier>

<a double-quoted delimited-identifier> <a bind variable> avg

count current exists max min prior sql stddev sum variance

execute forall time timestamp interval date

<a string literal with character set specification>

<a number> <a single-quoted SQL string>

지: 줄 10, 열39:PLS-00103: 심볼 ","를 만났습니다 다음 중 하나가 기대될

때: ; return

returning and or

[Top]
No.
제목
작성자
작성일
조회
3393Warning: _oci_open_server: ORA-12545:
이근행
2001-03-17
1618
3394┕>Re: Warning: _oci_open_server: ORA-12545:
우성곤
2001-03-17 14:10:25
1618
3390이제막 시작합니다.. 설치관련 질문..
김형용
2001-03-17
1340
3410┕>Re: 이제막 시작합니다.. 설치관련 질문..
신연호
2001-03-19 23:54:48
1445
3389마운트상태에서 모드를 아카이브모드로 바꿀려고 하는데 에러가 발생합니다.
김일권
2001-03-16
2002
3392┕>Re: 마운트상태에서 모드를 아카이브모드로 바꿀려고 하는데 에러가 발생합니다.
소몰이
2001-03-17 10:57:24
2781
3395 ┕>답변 감사합니다.(내용 무)
김일권
2001-03-17 15:08:59
1394
3388ORA-06550:,ORA-06550 이런 에러메세지
007
2001-03-16
3039
3387c로는 컴파일을 해 봤는데... c++로 짠 proC 파일은 어떤식으로 컴파일 하나요?
전병제
2001-03-16
1442
3391┕>Re: c로는 컴파일을 해 봤는데... c++로 짠 proC 파일은 어떤식으로 컴파일 하나요?
소몰이
2001-03-17 10:36:54
1461
3386oracle 7.3에서 long raw type insert, select....
blood
2001-03-16
2580
3385proc 에 대해서
김승규
2001-03-16
1286
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다