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 
) 有什么错误吗

解决方案 »

  1.   

    ORA-00972 identifier is too longCause: 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.
      

  2.   

    表名太长了!CREATE TABLE T_Integration_GetService

      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 
    ) 就可以了!
      

  3.   


    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 s, counts as one byte. For example, suppose you identify a column like this:"schema"."table"."column"
    The schema name can be 30 bytes, the table name can by 30 bytes, and the column name can be 30 bytes. Each of the quotation s and periods is a single-byte character, so the total length of the identifier in this example can be up to 98 bytes.
      

  4.   

    oracle中表明,列明,标识列字符不能超过30个