:NEW.ID: = next_no; ------> :NEW.ID:= next_no;
解决方案 »
- 提数系统中的一个查询sql执行很久很久
- ORACLE TRUNC的问题
- 菜鸟上树。。。咋办?
- 大姐紧急求助:如何把ORACLE数据库中的一个BLOB字段中存贮的图片,以同一表中的某个字段值这文件名存成一系列文件。谢谢
- 如何插入含通配符的记录?比如%和_
- 关于在windows 2003下安装ORACLE92,多个客户端连接的问题?
- 大家国庆快乐! 初学Oracle,请多关照! 顺便请大家推荐几本学习Oracle的好书
- 高手进来看看
- 誰能給我說說decode這個函數的意思
- 如何写SQL语句?
- select sql_text from v$sqlarea;
- 在PL/SQL块中能否实现记录存到文件中???????
begin
select TblUserInfo_seq.NEXTVALUE into next_no from dual;
:NEW.ID: = next_no;
end set_TblUserInfo_no;改成:
......
begin
select TblUserInfo_seq.NEXTVALUE into next_no from dual;
:NEW.ID := next_no; --赋值是 :=, 而不是 : =
^^^^
end set_TblUserInfo_no;
直接让next_no :=:new.TblUserInfo_seq试试看。
不知道是不是这样,你把表的字端列出来看看啊!
:NEW.ID : = :next_no;
to bzszp(SongZip),为什么要加:号。
另外: =要连着写,是一个符号
Cause: The network specified in Net8 CONNECT string is reserved for use by the dispatchers. Action: Specify other network protocols in the CONNECT string.
你怎么会有这种错误???奇怪!
不好意思,我查错了,以上的错误大家都说了,
就是:=该连着写,我帮你查查PLS-00103
不好意思,我查错了,以上的错误大家都说了,
就是:=该连着写,我帮你查查PLS-00103
1.:new.ID: = next_no; 正确的是 :new.ID := next_no;
2. TblUserInfo_seq.NEXTVALUE 正确的是 TblUserInfo_seq.Nextval
可见书上写的也不全对呀.:)
Cause: This error message is from the parser. It found a token (language element) that is inappropriate in this context. Action: Check previous tokens as well as the one given in the error message. The line and column numbers given in the error message refer to the end of the faulty language construct.
Action Check previous tokens as well as the one given in the error message. The line and column numbers given in the error message refer to the end of the faulty language construct. Copyright (C) 1998, Oracle Corporation
PLS-00103的错误信息从哪里查? 我刚接触oracle.:(
如oracle帮助