ORA-00972 identifier is too longCause:The name of a schema object exceeds 30 characters. Schema objects aretables, clusters, views, indexes, synonyms, tablespaces, and usernames.Action:Shorten the name to 30 characters or less。
可能是你的表、视图等的名称超过30个字符的缘故。
可能是你的表、视图等的名称超过30个字符的缘故。
http://community.csdn.net/Expert/topic/3627/3627639.xml?temp=.297497
select projectName,case
when (sysdate>JOBPLANSTART and JOBSTARTACTUAL is null) then 'a'
end "desc" from projectJobInfo,projectinfo,phaseTable,jobTable
where projectJobInfo.projectId=projectinfo.projectId and
( (sysdate>JOBPLANSTART and JOBSTARTACTUAL is null) or
(sysdate>JOBPLANend and JOBendACTUAL is null) ) 在程序里(客户端使用的ole db provider )提示ora-00972错误,标识太长的错误。但是使用sql plus(版本是9.2.0.1.0)却不出错。 试图将(sysdate>JOBPLANSTART and JOBSTARTACTUAL is null) 改成(sysdate>JOBPLANSTART ) 后(缩短了长度),没有提示出错了。 难道这也算个标识符?