ora-00903 invalid table name
ora-00903:无效的表名
action check spelling. a valid table name or cluster name must begin with a letter and may contain only alphanumeric characters and the special characters $, _, and #. the name must be less than or equal to 30 characters and cannot be a reserved word. 【程序编程相关:Linux Kernel XFS文件系统】
cause a table or cluster name is invalid or does not exist. this message is also issued if an invalid cluster name or no cluster name is specified in an alter cluster or drop cluster statement. 【推荐阅读:3月14日GnuPG内置签名验证漏洞】
方案:检查拼写是否正确.一个有效的表名或簇名必须以字母开头,只含有字母或数字,不能超过30个字符,可以包含一些特殊字符$, _, #.表名或簇名不能是关键字. 【扩展信息:Symantec Ghost 本地管理认】
原因:表名或簇名不存在或无效,当运行alter cluster 或 drop cluster语句时,会出现此错误信息.
案例一: 使用 dbms_sql包执行ddl语句
the dbms_sql package can be used to execute ddl statements directly from pl/sql.
这是一个创建一个表的过程的例子.该过程有两个参数:表名与字段及其类型的列表.
create or replace procedure ddlproc (tablename varchar2, cols varchar2) as
cursor1 integer;
begin
... 下一页