Oracle建表时为什么提示“ORA-00972:标识符过长”
CREATE TABLE T_Integration_GetServicePersonHaving
(
ID INTEGER NOT NULL,
Person_ID RAW(16) NULL,
ServiceType_ID INTEGER NULL,
Service_ID INTEGER NULL,
Service_Name varchar2(256) NULL,
Photo varchar2(1024) NULL,
Sort_ID INTEGER NULL,
System_ID INTEGER NULL
)
有什么错误吗
ORA-00972 identifier is too long
Cause: The name of a schema object exceeds 30 characters. Schema objects are tables, clusters, views, indexes, synonyms, tablespaces, and usernames.
Action: Shorten the name to 30 characters or less.
表名太长还不行?
规定不能超过30个字符
你应该可以缩短这个长度的,实在没有必要
看起来也难受
SQL code:
1.Names must be from 1 to 30 bytes long with these exceptions:
◦Names of databases are limited to 8 bytes.
◦Names of database links can be as long as 128 bytes.
If an identifier includes multiple parts separated by periods, then each attribute can be up to 30 bytes long. Each period separator, as well as any surrounding double quotation marks, counts as one byte. For example, suppose you identify a column like this:
"schema"."table"."column"
The schema name can be 30 bytes, the
相关问答:
比如我有testA、testB、testC三个表
我现在需要写一个批处理或者脚本给别人 作用就是执行这段语句可以清除这三个表里面的数据 就是一个初始化的意思
哪位高人帮助下啊 一个数据库小白在此求救啦
SQL code:
......
各大老师好,请教一个问题.
我设置了一个oracle字段,varchar(3000),然后插入一条数据长度才1000,就报错了.如:net.sf.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
Caused ......
以前程序好好的,能进行任何操作
但从昨天开始突然连接数据库失败,代码如下:
try
{
::CoInitialize(NULL);
hr=m_pConnection.Creat ......
下面存储过程执行后有错误,
create or replace procedure test_mail(msg_subject in varchar2,
mes_co ......